diff --git a/data/core/images/portraits/monsters/caribe.webp b/data/core/images/portraits/monsters/caribe.webp new file mode 100644 index 00000000000..007c8ab4044 Binary files /dev/null and b/data/core/images/portraits/monsters/caribe.webp differ diff --git a/data/core/images/portraits/monsters/nibbler.webp b/data/core/images/portraits/monsters/nibbler.webp new file mode 100644 index 00000000000..05ba0fe7140 Binary files /dev/null and b/data/core/images/portraits/monsters/nibbler.webp differ diff --git a/data/core/images/terrain/embellishments/seashells-tile.png b/data/core/images/terrain/embellishments/seashells-tile.png new file mode 100644 index 00000000000..51304a7ca23 Binary files /dev/null and b/data/core/images/terrain/embellishments/seashells-tile.png differ diff --git a/data/core/images/terrain/embellishments/seashells.png b/data/core/images/terrain/embellishments/seashells.png new file mode 100644 index 00000000000..9758ae59c02 Binary files /dev/null and b/data/core/images/terrain/embellishments/seashells.png differ diff --git a/data/core/images/terrain/embellishments/seashells2.png b/data/core/images/terrain/embellishments/seashells2.png new file mode 100644 index 00000000000..bb4b6ea7d82 Binary files /dev/null and b/data/core/images/terrain/embellishments/seashells2.png differ diff --git a/data/core/images/terrain/embellishments/seashells3.png b/data/core/images/terrain/embellishments/seashells3.png new file mode 100644 index 00000000000..339915097b8 Binary files /dev/null and b/data/core/images/terrain/embellishments/seashells3.png differ diff --git a/data/core/images/terrain/embellishments/seashells4.png b/data/core/images/terrain/embellishments/seashells4.png new file mode 100644 index 00000000000..24314803195 Binary files /dev/null and b/data/core/images/terrain/embellishments/seashells4.png differ diff --git a/data/core/images/terrain/embellishments/seashells5.png b/data/core/images/terrain/embellishments/seashells5.png new file mode 100644 index 00000000000..0b2a9bbc805 Binary files /dev/null and b/data/core/images/terrain/embellishments/seashells5.png differ diff --git a/data/core/images/terrain/embellishments/seashells6.png b/data/core/images/terrain/embellishments/seashells6.png new file mode 100644 index 00000000000..cd828ea5cb8 Binary files /dev/null and b/data/core/images/terrain/embellishments/seashells6.png differ diff --git a/data/core/images/terrain/forest/great-oak-tree-dead-water.png b/data/core/images/terrain/forest/great-oak-tree-dead-water.png new file mode 100644 index 00000000000..3a9ab91fc50 Binary files /dev/null and b/data/core/images/terrain/forest/great-oak-tree-dead-water.png differ diff --git a/data/core/images/terrain/misc/rubble-water.png b/data/core/images/terrain/misc/rubble-water.png new file mode 100644 index 00000000000..723c535b5be Binary files /dev/null and b/data/core/images/terrain/misc/rubble-water.png differ diff --git a/data/core/images/terrain/misc/rubble-water2.png b/data/core/images/terrain/misc/rubble-water2.png new file mode 100644 index 00000000000..b0a2f8f1e9e Binary files /dev/null and b/data/core/images/terrain/misc/rubble-water2.png differ diff --git a/data/core/images/terrain/misc/rubble-water3.png b/data/core/images/terrain/misc/rubble-water3.png new file mode 100644 index 00000000000..415662b0703 Binary files /dev/null and b/data/core/images/terrain/misc/rubble-water3.png differ diff --git a/data/core/images/terrain/misc/rubble-water4.png b/data/core/images/terrain/misc/rubble-water4.png new file mode 100644 index 00000000000..c7f10066b72 Binary files /dev/null and b/data/core/images/terrain/misc/rubble-water4.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-1.png b/data/core/images/terrain/water/seaweed/kelp-1.png new file mode 100644 index 00000000000..b714b0351e9 Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-1.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-2.png b/data/core/images/terrain/water/seaweed/kelp-2.png new file mode 100644 index 00000000000..b6c179a536b Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-2.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-3.png b/data/core/images/terrain/water/seaweed/kelp-3.png new file mode 100644 index 00000000000..fcbac3af9ff Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-3.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-4.png b/data/core/images/terrain/water/seaweed/kelp-4.png new file mode 100644 index 00000000000..f0eb7f42142 Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-4.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-dead-small.png b/data/core/images/terrain/water/seaweed/kelp-dead-small.png new file mode 100644 index 00000000000..a2331b6386f Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-dead-small.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-dead-small2.png b/data/core/images/terrain/water/seaweed/kelp-dead-small2.png new file mode 100644 index 00000000000..e816ddb2ed4 Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-dead-small2.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-dead-small3.png b/data/core/images/terrain/water/seaweed/kelp-dead-small3.png new file mode 100644 index 00000000000..831f1122299 Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-dead-small3.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-dead.png b/data/core/images/terrain/water/seaweed/kelp-dead.png new file mode 100644 index 00000000000..d5590e79b6e Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-dead.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-dead2.png b/data/core/images/terrain/water/seaweed/kelp-dead2.png new file mode 100644 index 00000000000..6b28ea82780 Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-dead2.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-dead3.png b/data/core/images/terrain/water/seaweed/kelp-dead3.png new file mode 100644 index 00000000000..627a7e6600e Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-dead3.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-dead4.png b/data/core/images/terrain/water/seaweed/kelp-dead4.png new file mode 100644 index 00000000000..2e76da3603e Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-dead4.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-small-1.png b/data/core/images/terrain/water/seaweed/kelp-small-1.png new file mode 100644 index 00000000000..5bdf3920d6c Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-small-1.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-small-2.png b/data/core/images/terrain/water/seaweed/kelp-small-2.png new file mode 100644 index 00000000000..cf18ae042fd Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-small-2.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-small-3.png b/data/core/images/terrain/water/seaweed/kelp-small-3.png new file mode 100644 index 00000000000..90f2ad905b4 Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-small-3.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-small-4.png b/data/core/images/terrain/water/seaweed/kelp-small-4.png new file mode 100644 index 00000000000..4c12b5a71cd Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-small-4.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp-tile.png b/data/core/images/terrain/water/seaweed/kelp-tile.png new file mode 100644 index 00000000000..c10abd5cb27 Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp-tile.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp2-1.png b/data/core/images/terrain/water/seaweed/kelp2-1.png new file mode 100644 index 00000000000..6b017c73b3f Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp2-1.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp2-2.png b/data/core/images/terrain/water/seaweed/kelp2-2.png new file mode 100644 index 00000000000..6cdb4496b02 Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp2-2.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp2-3.png b/data/core/images/terrain/water/seaweed/kelp2-3.png new file mode 100644 index 00000000000..6368b33b950 Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp2-3.png differ diff --git a/data/core/images/terrain/water/seaweed/kelp2-4.png b/data/core/images/terrain/water/seaweed/kelp2-4.png new file mode 100644 index 00000000000..5b3356c8cd5 Binary files /dev/null and b/data/core/images/terrain/water/seaweed/kelp2-4.png differ diff --git a/data/core/images/units/monsters/caribe/caribe-attack-1.png b/data/core/images/units/monsters/caribe/caribe-attack-1.png new file mode 100644 index 00000000000..d31715e7247 Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe-attack-1.png differ diff --git a/data/core/images/units/monsters/caribe/caribe-attack-2.png b/data/core/images/units/monsters/caribe/caribe-attack-2.png new file mode 100644 index 00000000000..4f0d8eeb54a Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe-attack-2.png differ diff --git a/data/core/images/units/monsters/caribe/caribe-default.png b/data/core/images/units/monsters/caribe/caribe-default.png new file mode 100644 index 00000000000..04610efee34 Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe-default.png differ diff --git a/data/core/images/units/monsters/caribe/caribe-defend-1.png b/data/core/images/units/monsters/caribe/caribe-defend-1.png new file mode 100644 index 00000000000..23bc0977ed7 Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe-defend-1.png differ diff --git a/data/core/images/units/monsters/caribe/caribe-defend-2.png b/data/core/images/units/monsters/caribe/caribe-defend-2.png new file mode 100644 index 00000000000..e2ac54cdb0c Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe-defend-2.png differ diff --git a/data/core/images/units/monsters/caribe/caribe-hi.png b/data/core/images/units/monsters/caribe/caribe-hi.png new file mode 100644 index 00000000000..f89fa3e4c27 Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe-hi.png differ diff --git a/data/core/images/units/monsters/caribe/caribe-land.png b/data/core/images/units/monsters/caribe/caribe-land.png new file mode 100644 index 00000000000..041905cb479 Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe-land.png differ diff --git a/data/core/images/units/monsters/caribe/caribe-lo.png b/data/core/images/units/monsters/caribe/caribe-lo.png new file mode 100644 index 00000000000..84297ddd77c Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe-lo.png differ diff --git a/data/core/images/units/monsters/caribe/caribe-mask.png b/data/core/images/units/monsters/caribe/caribe-mask.png new file mode 100644 index 00000000000..1cd88dfd463 Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe-mask.png differ diff --git a/data/core/images/units/monsters/caribe/caribe-shadow.png b/data/core/images/units/monsters/caribe/caribe-shadow.png new file mode 100644 index 00000000000..5d8ad101184 Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe-shadow.png differ diff --git a/data/core/images/units/monsters/caribe/caribe.png b/data/core/images/units/monsters/caribe/caribe.png new file mode 100644 index 00000000000..19dd3f89b43 Binary files /dev/null and b/data/core/images/units/monsters/caribe/caribe.png differ diff --git a/data/core/images/units/monsters/caribe/nibbler--hi.png b/data/core/images/units/monsters/caribe/nibbler--hi.png new file mode 100644 index 00000000000..923864f53e3 Binary files /dev/null and b/data/core/images/units/monsters/caribe/nibbler--hi.png differ diff --git a/data/core/images/units/monsters/caribe/nibbler-attack-1.png b/data/core/images/units/monsters/caribe/nibbler-attack-1.png new file mode 100644 index 00000000000..598d948363e Binary files /dev/null and b/data/core/images/units/monsters/caribe/nibbler-attack-1.png differ diff --git a/data/core/images/units/monsters/caribe/nibbler-default.png b/data/core/images/units/monsters/caribe/nibbler-default.png new file mode 100644 index 00000000000..ed9478a861b Binary files /dev/null and b/data/core/images/units/monsters/caribe/nibbler-default.png differ diff --git a/data/core/images/units/monsters/caribe/nibbler-defend-1.png b/data/core/images/units/monsters/caribe/nibbler-defend-1.png new file mode 100644 index 00000000000..7ba5595c4f7 Binary files /dev/null and b/data/core/images/units/monsters/caribe/nibbler-defend-1.png differ diff --git a/data/core/images/units/monsters/caribe/nibbler-defend-2.png b/data/core/images/units/monsters/caribe/nibbler-defend-2.png new file mode 100644 index 00000000000..c32f6ec37c3 Binary files /dev/null and b/data/core/images/units/monsters/caribe/nibbler-defend-2.png differ diff --git a/data/core/images/units/monsters/caribe/nibbler-hi.png b/data/core/images/units/monsters/caribe/nibbler-hi.png new file mode 100644 index 00000000000..da4ba993736 Binary files /dev/null and b/data/core/images/units/monsters/caribe/nibbler-hi.png differ diff --git a/data/core/images/units/monsters/caribe/nibbler-land.png b/data/core/images/units/monsters/caribe/nibbler-land.png new file mode 100644 index 00000000000..83dc2f0b1df Binary files /dev/null and b/data/core/images/units/monsters/caribe/nibbler-land.png differ diff --git a/data/core/images/units/monsters/caribe/nibbler-lo.png b/data/core/images/units/monsters/caribe/nibbler-lo.png new file mode 100644 index 00000000000..770c0f387e9 Binary files /dev/null and b/data/core/images/units/monsters/caribe/nibbler-lo.png differ diff --git a/data/core/images/units/monsters/caribe/nibbler-shadow.png b/data/core/images/units/monsters/caribe/nibbler-shadow.png new file mode 100644 index 00000000000..f28c5ba9121 Binary files /dev/null and b/data/core/images/units/monsters/caribe/nibbler-shadow.png differ diff --git a/data/core/images/units/monsters/caribe/nibbler.png b/data/core/images/units/monsters/caribe/nibbler.png new file mode 100644 index 00000000000..ac026b7bb4a Binary files /dev/null and b/data/core/images/units/monsters/caribe/nibbler.png differ diff --git a/data/core/terrain-graphics.cfg b/data/core/terrain-graphics.cfg index 424df3dac3c..0b5b729a3bb 100644 --- a/data/core/terrain-graphics.cfg +++ b/data/core/terrain-graphics.cfg @@ -180,12 +180,16 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef {NEW:FOREST (W*^Tf*) (Wo*) forest/mushrooms-water} {NEW:FOREST (*^Uf*,*^Tf*) {SMALL_FOREST_FILTER} forest/mushrooms} +{NEW:FOREST (W*^Wkf) (Wwr*,!,W*) water/seaweed/kelp ANIM="-[1~4,3,2]" TIME=":[700*6]"} +{NEW:FOREST (*^Wkf) {SMALL_FOREST_FILTER} water/seaweed/kelp-dead} + #undef SMALL_FOREST_FILTER # Great-tree {NEW:OVERLAY *^Fet forest/great-tree} {NEW:OVERLAY *^Feta forest/great-tree-snowy} {NEW:OVERLAY *^Fetd forest/great-tree-dead} +{NEW:OVERLAY W*^Feth forest/great-oak-tree-dead-water} {NEW:OVERLAY *^Feth forest/great-oak-tree-dead} # Oasis @@ -401,6 +405,9 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef {NEW:WALL_FLAMES_OVERLAY (Xo*^Efs) walls/stone/flames/sconce} {NEW:TORCH_FLAMES_OVERLAY (!,X*^Efs,!,*^Efs) walls/stone/flames/torch} +# seashells +{NEW:OVERLAY *^Ewsh embellishments/seashells LAYER=-86} + #Farmland {NEW:OVERLAY *^Gvs embellishments/farm-veg-spring LAYER=-81} @@ -426,6 +433,7 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef {NEW:OVERLAY (!,Xof^Efm,!,*^Efm) embellishments/flowers-mixed LAYER=-500} #Rubble +{NEW:OVERLAY W*^Dr misc/rubble-water FLAG=rubble LAYER=-1} {NEW:OVERLAY *^Dr misc/rubble FLAG=rubble LAYER=-1} {NEW:OVERLAY *^Es embellishments/stones-small} @@ -936,7 +944,7 @@ C*,K*,X*,Q*,W*,Ai,M*,*^V*,*^B*,_off^_usr#enddef # Default layer is -500, so anything layering above should be higher. -{NEW:TRANSITION_INTRA (*^Dr) -158 misc/rubble FLAG=intra} +{NEW:TRANSITION_INTRA (!,W*^Dr,!,*^Dr) -158 misc/rubble FLAG=intra} {NEW:TRANSITION_INTRA (*^Esd) -158 embellishments/rocks FLAG=intra} {NEW:TRANSITION (Md,Mv) (!,Md,Hhd,Mv,W*,S*) -166 mountains/dry} diff --git a/data/core/terrain-graphics/new-macros.cfg b/data/core/terrain-graphics/new-macros.cfg index d71943b9172..f5107cb2586 100644 --- a/data/core/terrain-graphics/new-macros.cfg +++ b/data/core/terrain-graphics/new-macros.cfg @@ -2061,6 +2061,15 @@ corner#endarg # causes problems; this is why the rules for setting the flag for a small # forest and placing the actual image are separate. +#arg LAYER +0#endarg + +#arg ANIM +#endarg + +#arg TIME +#endarg + [terrain_graphics] map=" , 2 @@ -2096,9 +2105,9 @@ corner#endarg [/tile] [image] - name={IMAGESTEM}-small@V.png + name={IMAGESTEM}-small@V{ANIM}.png{TIME} variations=";2;3;4;5;6;7;8;9;10;11" - layer=0 + layer={LAYER} base=90,161 center=90,144 [/image] @@ -2118,9 +2127,9 @@ corner#endarg [/tile] [image] - name={IMAGESTEM}@V.png + name={IMAGESTEM}@V{ANIM}.png{TIME} variations=";2;3;4;5;6;7;8;9;10;11" - layer=0 + layer={LAYER} base=90,161 center=90,144 [/image] diff --git a/data/core/terrain.cfg b/data/core/terrain.cfg index 330077ee0d4..684fd5dbac5 100644 --- a/data/core/terrain.cfg +++ b/data/core/terrain.cfg @@ -128,6 +128,19 @@ editor_group=water [/terrain_type] +[terrain_type] + symbol_image=water/seaweed/kelp-tile + id=sea_kelp + name= _ "Swamp" + editor_name= _ "Kelp Forest" + string=^Wkf + aliasof=_bas, St + submerge=0.45 + default_base=Ww + mvt_alias=-,_bas,St + editor_group=water +[/terrain_type] + # ## Swamp ## [terrain_type] @@ -554,6 +567,16 @@ Most units receive 20 to 40% defense in sand." editor_group=water,embellishments [/terrain_type] +[terrain_type] + symbol_image=embellishments/seashells-tile + id=seashells + editor_name= _ "Seashells" + string=^Ewsh + default_base=Ds + aliasof=_bas + editor_group=water,embellishments +[/terrain_type] + ## Trash and battlefield litter ## [terrain_type] symbol_image=misc/detritus/trashC-1 diff --git a/data/core/units/monsters/Caribe.cfg b/data/core/units/monsters/Caribe.cfg new file mode 100644 index 00000000000..7a265a621a6 --- /dev/null +++ b/data/core/units/monsters/Caribe.cfg @@ -0,0 +1,146 @@ +#textdomain wesnoth-units + +#define CARIBE_IMAGE_PATH +units/monsters/caribe#enddef + +[unit_type] + id=Caribe + name= _ "Caribe" + race=monster + image="{CARIBE_IMAGE_PATH}/caribe-shadow.png~BLIT("{CARIBE_IMAGE_PATH}/caribe-default.png")" + profile="portraits/monsters/caribe.webp" + hitpoints=38 + # needs some adjustment + movement_type=deepsea + [resistance] + arcane=100 + pierce=90 + impact=80 + [/resistance] + movement=8 + experience=40 + level=1 + alignment=neutral + advances_to=null + {AMLA_DEFAULT} + cost=16 + undead_variation=serpent + usage=fighter + description= _ "The giant caribe are seldom encountered in the inland rivers near Weldyn, but tales of their ferocious attacks have spread far and wide. Their angry red eyes are embedded in an armored face. While it is their teeth that are a dangerous weapon, they do posses small, bony arms and claws, which they can use to extricate themselves from situations dire to most other fish. The giant caribe can climb over land and untie fishing nets, some have said they even commune with the saurian augers. Whatever the truth, these fish are unusually clever and should not be understimated." + die_sound=water-blast.wav + [abilities] + {ABILITY_SKIRMISHER} + [/abilities] + [defend] + start_time=-126 + terrain_type=W*,W*^Wkf + offset=0:110,0~-0.2:42,-0.2~0:100 + [frame] + image={CARIBE_IMAGE_PATH}/caribe-defend-[1,2,1].png~MASK({CARIBE_IMAGE_PATH}/caribe-mask.png):[1,250,1] + [/frame] + [if] + hit_sound_start_time=-25 + hits=hit + [hit_sound_frame] + sound=hiss-hit.wav + [/hit_sound_frame] + [/if] + [/defend] + [defend] + start_time=-126 + terrain_type=!,W*,W*^Wkf + offset=0:110,0~-0.1:42,-0.1~0:100 + [frame] + image={CARIBE_IMAGE_PATH}/caribe-land.png + [/frame] + [if] + hit_sound_start_time=-25 + hits=hit + [hit_sound_frame] + sound=hiss-hit.wav + [/hit_sound_frame] + [/if] + [/defend] + [movement_anim] + start_time=0 + fish_start_time=0 + fish_y=1:250,1~3:600,3:150,3~1:600 + fish_offset="0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200" + terrain_type=W*,W*^Wkf + alpha=0.3 + [fish_frame] + image={CARIBE_IMAGE_PATH}/caribe-[hi,default,lo,default].png~MASK({CARIBE_IMAGE_PATH}/caribe-mask.png):[400*4] + auto_vflip=no + # submerge=0.45 + [/fish_frame] + [frame] + image={CARIBE_IMAGE_PATH}/caribe-shadow.png:1600 + layer=2 + [/frame] + [/movement_anim] + [movement_anim] + start_time=0 + terrain_type=!,W*,W*^Wkf + [frame] + image={CARIBE_IMAGE_PATH}/caribe-land.png + [/frame] + [/movement_anim] + [standing_anim] + start_time=0 + fish_start_time=0 + fish_y=1:250,1~3:600,3:150,3~1:600 + terrain_type=W*,W*^Wkf + alpha=0.3 + [fish_frame] + image={CARIBE_IMAGE_PATH}/caribe-[hi,default,lo,default].png~MASK({CARIBE_IMAGE_PATH}/caribe-mask.png):[400*4] + auto_vflip=no + # submerge=0.45 + [/fish_frame] + [frame] + image={CARIBE_IMAGE_PATH}/caribe-shadow.png:1600 + layer=2 + [/frame] + [/standing_anim] + [standing_anim] + start_time=0 + terrain_type=!,W*,W*^Wkf + [frame] + image={CARIBE_IMAGE_PATH}/caribe-land.png + [/frame] + [/standing_anim] + [attack] + name=fangs + description=_"fangs" + icon=attacks/fangs-angler.png + type=pierce + range=melee + damage=6 + number=4 + [/attack] + [attack_anim] + [filter_attack] + name=fangs + [/filter_attack] + terrain_type=W*,W*^Wkf + start_time=-250 + offset=0~-0.1:75,-0.1~0.65:175,0.65~0:250 + [frame] + image={CARIBE_IMAGE_PATH}/caribe-[default,attack-1,attack-2,default].png~MASK({CARIBE_IMAGE_PATH}/caribe-mask.png):[50,125,150,175] + [/frame] + {SOUND:HIT_AND_MISS bite.ogg {SOUND_LIST:MISS} -100} + [/attack_anim] + [attack_anim] + [filter_attack] + name=fangs + [/filter_attack] + terrain_type=!,W*,W*^Wkf + start_time=-250 + offset=0~-0.1:75,-0.1~0.65:175,0.65~0:250 + [frame] + image={CARIBE_IMAGE_PATH}/caribe-[land,attack-1,attack-2,land].png:[50,125,150,175] + [/frame] + {SOUND:HIT_AND_MISS bite.ogg {SOUND_LIST:MISS} -100} + [/attack_anim] +[/unit_type] + +#undef CARIBE_IMAGE_PATH diff --git a/data/core/units/monsters/Caribe_Nibbler.cfg b/data/core/units/monsters/Caribe_Nibbler.cfg new file mode 100644 index 00000000000..22fef3ecc5b --- /dev/null +++ b/data/core/units/monsters/Caribe_Nibbler.cfg @@ -0,0 +1,160 @@ +#textdomain wesnoth-units + +#define CARIBE_IMAGE_PATH +units/monsters/caribe#enddef + +[unit_type] + id=Nibbler + name= _ "Nibbler" + race=monster + image="{CARIBE_IMAGE_PATH}/nibbler.png" + profile="portraits/monsters/nibbler.webp" + hitpoints=28 + # needs some adjustment + movement_type=deepsea + [resistance] + arcane=100 + [/resistance] + [movement_costs] + deep_water=1 + shallow_water=1 + reef=2 + swamp_water=2 + flat=99 + sand=99 + forest=99 + hills=99 + village=2 + castle=3 + cave=99 + frozen=99 + fungus=99 + [/movement_costs] + movement=6 + experience=32 + level=0 + alignment=neutral + advances_to=Caribe + cost=10 + undead_variation=serpent + usage=fighter + description= _ "Nibblers are juvenile predator fish, often more curious than dangerous. A single individual may not be a threat, but these fish seldom travel alone." + die_sound=water-blast.wav + [abilities] + {ABILITY_SKIRMISHER} + [/abilities] + [defend] + start_time=-126 + terrain_type=W*,W*^Wkf + offset=0:110,0~-0.2:42,-0.2~0:100 + [frame] + image={CARIBE_IMAGE_PATH}/nibbler-defend-[1,2,1].png~MASK({CARIBE_IMAGE_PATH}/caribe-mask.png):[1,250,1] + [/frame] + [if] + hit_sound_start_time=-25 + hits=hit + [hit_sound_frame] + sound=hiss-hit.wav + [/hit_sound_frame] + [/if] + [/defend] + [defend] + start_time=-126 + terrain_type=!,W*,W*^Wkf + offset=0:110,0~-0.1:42,-0.1~0:100 + [frame] + image={CARIBE_IMAGE_PATH}/nibbler-land.png + [/frame] + [if] + hit_sound_start_time=-25 + hits=hit + [hit_sound_frame] + sound=hiss-hit.wav + [/hit_sound_frame] + [/if] + [/defend] + [movement_anim] + start_time=0 + fish_start_time=0 + fish_y=1:250,1~3:600,3:150,3~1:600 + fish_offset="0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200" + terrain_type=W*,W*^Wkf + alpha=0.3 + [fish_frame] + image={CARIBE_IMAGE_PATH}/nibbler-[hi,default,lo,default].png~MASK({CARIBE_IMAGE_PATH}/caribe-mask.png):[400*4] + auto_vflip=no + # submerge=0.45 + [/fish_frame] + [frame] + image={CARIBE_IMAGE_PATH}/nibbler-shadow.png:1600 + layer=2 + [/frame] + [/movement_anim] + [movement_anim] + start_time=0 + terrain_type=!,W*,W*^Wkf + [frame] + image={CARIBE_IMAGE_PATH}/nibbler-land.png + [/frame] + [/movement_anim] + [standing_anim] + start_time=0 + fish_start_time=0 + fish_y=1:250,1~3:600,3:150,3~1:600 + terrain_type=W*,W*^Wkf + alpha=0.3 + [fish_frame] + image={CARIBE_IMAGE_PATH}/nibbler-[hi,default,lo,default].png~MASK({CARIBE_IMAGE_PATH}/caribe-mask.png):[400*4] + auto_vflip=no + # submerge=0.45 + [/fish_frame] + [frame] + image={CARIBE_IMAGE_PATH}/nibbler-shadow.png:1600 + layer=2 + [/frame] + [/standing_anim] + [standing_anim] + start_time=0 + terrain_type=!,W*,W*^Wkf + [frame] + image={CARIBE_IMAGE_PATH}/nibbler-land.png + [/frame] + [/standing_anim] + [attack] + name=fangs + description=_"fangs" + icon=attacks/fangs-angler.png + type=pierce + range=melee + damage=5 + number=3 + [/attack] + [attack_anim] + [filter_attack] + name=fangs + [/filter_attack] + terrain_type=W*,W*^Wkf + # place holder anim + start_time=-225 + offset=0~-0.1:75,-0.1~0.65:150,0.65~0:225 + [frame] + image={CARIBE_IMAGE_PATH}/nibbler-[default,attack-1,default].png~MASK({CARIBE_IMAGE_PATH}/caribe-mask.png):[50,200,200] + [/frame] + {SOUND:HIT_AND_MISS bite.ogg {SOUND_LIST:MISS} -100} + [/attack_anim] + [attack_anim] + [filter_attack] + name=fangs + [/filter_attack] + terrain_type=!,W*,W*^Wkf + # place holder anim + start_time=-225 + offset=0~-0.1:75,-0.1~0.65:150,0.65~0:225 + [frame] + image={CARIBE_IMAGE_PATH}/nibbler-[land,attack-1,land].png:[50,200,200] + [/frame] + {SOUND:HIT_AND_MISS bite.ogg {SOUND_LIST:MISS} -100} + [/attack_anim] +[/unit_type] + +#undef CARIBE_IMAGE_PATH