Skip to content

Commit

Permalink
Cantaloupe feeder icon #712
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Jul 18, 2024
1 parent 4bd68bd commit 1978f87
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 10 deletions.
26 changes: 26 additions & 0 deletions data/.wolf3d/N3Ddata.cdogscpn/bullets.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,32 @@
"Ticks": 30
}
},
{
"Name": "cantaloupe",
"Pic": {
"Type": "Animated",
"Sprites": "grenade",
"Mask": "ffba43"
},
"Size": [4, 4],
"ShadowSize": [6, 4],
"Speed": 600,
"Range": 200,
"Power": 100,
"Mass": 1.0,
"Spark": "",
"Hit": {
"Flesh": {
"Sound": "splat0"
},
"Wall": {
"Sound": "splat0"
}
},
"Falling": {
"GravityFactor": 1
}
},
{
"Name": "bullet_enemy",
"Pic": {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions data/.wolf3d/N3Ddata.cdogscpn/guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@
{
"Pic": "blaster_yellow",
"Name": "Cantaloupe Feeder",
"Icon": "flamer",
"Bullet": "grenade",
"Cost": 1,
"Icon": "cantaloupe_feeder",
"Bullet": "cantaloupe",
"Cost": 10,
"Lock": 45,
"Sound": "super_feeder",
"SwitchSound": "chaingun_pickup",
"Recoil": 0.23,
"Sound": "cantaloupe_feeder",
"SwitchSound": "package_r",
"Elevation": 18,
"Ammo": "Cantaloupe"
},
{
Expand All @@ -70,9 +70,9 @@
"Name": "Watermelons",
"Bullet": "grenade",
"Cost": 20,
"Lock": 30,
"Sound": "super_feeder",
"SwitchSound": "grenade_pickup",
"Lock": 70,
"Sound": "watermelon_feeder",
"SwitchSound": "package_pickup",
"Elevation": 24,
"Ammo": "Watermelon"
},
Expand Down
Binary file added data/.wolf3d/N3Ddata.cdogscpn/sounds/splat0.ogg
Binary file not shown.
5 changes: 5 additions & 0 deletions data/.wolf3d/N3Ddata.cdogscpn/sounds/splat0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Adapted from Messy Splat 3
By FoolBoyMedia
https://freesound.org/people/FoolBoyMedia/sounds/237927/

https://creativecommons.org/licenses/by/4.0/
Binary file added data/.wolf3d/N3Ddata.cdogscpn/sounds/splat1.ogg
Binary file not shown.
5 changes: 5 additions & 0 deletions data/.wolf3d/N3Ddata.cdogscpn/sounds/splat1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Adapted from Messy Splat 3a
By FoolBoyMedia
https://freesound.org/people/FoolBoyMedia/sounds/237928/

https://creativecommons.org/licenses/by/4.0/
2 changes: 1 addition & 1 deletion src/cdogs/map_wolf.c
Original file line number Diff line number Diff line change
Expand Up @@ -3104,7 +3104,7 @@ static bool MakeWallWalkable(Mission *m, const struct vec2i v)
{
int *tile = CArrayGet(&m->u.Static.Tiles, v.x + v.y * m->Size.x);
const TileClass *tc = MissionStaticGetTileClass(&m->u.Static, m->Size, v);
if (tc->Type == TILE_CLASS_WALL)
if (tc->Type == TILE_CLASS_WALL && !tc->canWalk)
{
*tile += TILE_CLASS_WALL_OFFSET;
return true;
Expand Down

0 comments on commit 1978f87

Please sign in to comment.