From c7ae66839f9ca417b9fa691e5b812e064140b050 Mon Sep 17 00:00:00 2001 From: xolatile Date: Sat, 15 Jun 2024 07:27:21 -0400 Subject: [PATCH] Added 3 types of troll... --- game/monster/cave_troll.png | Bin 0 -> 1935 bytes game/monster/hill_troll.png | Bin 0 -> 1951 bytes game/monster/mountain_troll.png | Bin 0 -> 2154 bytes source/monster.ads | 13 +++++++------ 4 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 game/monster/cave_troll.png create mode 100644 game/monster/hill_troll.png create mode 100644 game/monster/mountain_troll.png diff --git a/game/monster/cave_troll.png b/game/monster/cave_troll.png new file mode 100644 index 0000000000000000000000000000000000000000..07f17d96dc91179116b82248132c135fb79bc046 GIT binary patch literal 1935 zcmZvddpML?9LLYhxJ(y@rB*4UQfm{cU9F@U+KDmAu#uP+WwSe`a+#*cn0cd`+LbOO zLabt1wuaD9hAGKrvSoXi)ooZ!)@7KG%gDU@zO86I`^S0DbI$iX=leO|-|uTopLoVkq#K0h#g25V>wt0AGpt4G9ov#w`m$_E0A8`U&!{^xCOs!^w%!`6>Uv#1(%Xv zSw+I%QYcmv?D@t4i#rXun_Fs-d#{s+QnSrct~$-~@lU8UxvU<2DOx2E(WKGUswTLb zb4M{iF4G~wJc5_6UGsYDhS;=4IoY2EpNAOQ!SepDI1%|i>@8boeAXx;j5ltzrl9Mu zp6LA2%3rc_4#PIV8IS`U3ylm(AiU^BAh@|d<#3tpC~}6K(VEHbD|d$X#`9Xw`s+z= zz`?Q`B|CZzdQ@)yJFPwN%)ye@Uguqa*W@?$;0cRE>PH$;kGlX$sXd`u6dPBC4H7M>yx*m<6V|n_r6kVNg;? zOY+&Bl%p7!aKjY8;tR2R(>Z$%y3N`n*lpVXI?+30V4Z$%oUSw(&UTOn_}V|&80xw9 zsI@;wd_>*14&Tc4>=-kOXg$Pum87(>58pl~CBhVJ(b6j^SA(uA!%KUQ-pU-~?&4g2 z!_8`}xBAP^ic*=D=)Hf(-WU3EY;hH@B}gxqt2lgKLIg4`{RQE(=T5b>rsy+)&m^F? zt8=}`oo^4ePvk6|`-m2taWXDj)?YL6X+=q7ol5slg&e*Y`e)*}Vk=Y?aqV1K{`aip z@gL-Can13mcMsT*LvK5Or`}PFTX%-kN1O<_=Qn&W+vLHB@Yq-!BVA_uWZ;3n=^;jp zLpQzX&6fn19(FA9-Z)sdj@4YBld0m)w;vR_DOu&;@fSc{nU0;qq^o36bw$+sXY?7| z9q8HWfRn{{G8SZJ^BuuP%@$P)*fGd|T4P%oZ?osJq`W$an^?ef2%6&};zfW}8n~Q& zR!k$3*?re`&3(DslfRPQe`{zE@OGAZD9*v#YB$&1lI(kTO8e6g-C%jwlJo9lftLMN z5ID<+1KZhYgv@z|VfI$GnT9SG2C&o^Dx{Ux>O%y}rD{xaE`cbmAaOy5MvZZL%@_r0 zOdC#$sKxU3)-_x(3W`F}%|fLS382dlIv@g)l>M$&e{~;`1VzDWOwzc3V5!DvEWD)p zj;Z`naDQTk8uFZsIBDB)W+SLAdgLv#kP8S9sWCc{;DQ~}w?J)-j}Rht;-}@uYZP}8 zCe#yfA&KFmj0N^Z!tx;MXUU8DgfH zbHOLMWHoAY0?&n({XH#1$z$`UgX!hO9Gr^=(`|-=hOa+5$^21p>P3@TP5B~MRtrqj z7(?Yu=Kp3j73X9!x%ATKZMZXF;)npTaiO%~7P+D~Ov(oyil>7K5!IHyFXZ-mbkkS1 zWM(lD-p)}0VTuZ^kxLtHXk!*ch_s%`JYB&lD)dOtzsZ33i%LBrr1Lky8MRr8CAQ&_ z2KylAhE^Y&4km8#rT2v_b~=u1<^~#~wf#`+$>5ypXLb&jnA_j3!-c*co5B2VU;T#) gY0QwFQ^~;k=1rC7-f*7gA%9rlvDu4qeN#xnKMp*Vwg3PC literal 0 HcmV?d00001 diff --git a/game/monster/hill_troll.png b/game/monster/hill_troll.png new file mode 100644 index 0000000000000000000000000000000000000000..518372b5da308900e39d5efeb0a80bc91f897bed GIT binary patch literal 1951 zcmZXVdsGuw9>;GW8p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fas(BczpOMH>lttHt{AOuL zsPbGaH*PUg>r8Rrf^Xx$nRqqEF_z1c7toU_jzh#bmc#Z6LGN(Ps8}!n zMl7{CL|cB1bw-ygp+H(CtI9Vzx5NqNe-kjHbwEgtqgFX`2e=RDos*$+^oPH^XNK`F zaogzEB@gcE*%Ycs*$V0l(%OWlp8M0ENu97Fx9a$Qk?&j0%aV?dA-(D}phBVZ1`%we z@X3Ug=|aE}*CAb};eP3iOy=ig)Rq~UnB79~Y7T`VR4)U1CNR+8RYP54HDRXSDW&n3 z5C=nYb72s%tveaTz&S-;L=o0}Kv~0hoi!Mqya*aR1+hFrVJHPK+(elCMb@g3doM#& zYcQ0&o#nFg`_|#?XEL)jmQsj>fnm2Pew=zeE6rw+*6#z;4+Z|DwX3YJ!|WgeGT| zh?PL0TX>;PV+4GHDBmpuJ}jVM9sk69-%1H85dMlzo`=04NJ+~{5}3u+FOgeh7Li&o ze&cym_*&@tVEf=3C~t$|Xz1krClSby28ilB%EU0T&L0Ke&rpIHjd5VLh?PL0TR3tN z6>hwIm9R=i9<<ntyGQ#e G7ybtM^7h^U literal 0 HcmV?d00001 diff --git a/source/monster.ads b/source/monster.ads index 471c8d6..a548306 100644 --- a/source/monster.ads +++ b/source/monster.ads @@ -18,6 +18,7 @@ package monster is type definition is record name : access string := new string'("--"); attributes : attribute.bonus := (others => 0); + size : core.vector := (1, 1); materials : access material.drops := new material.drops'((material.meat, 1, 1), (material.bone, 1, 1)); evoke : effect.information := effect.none; end record; @@ -41,12 +42,12 @@ package monster is description : constant array (enumeration) of definition := ( none => (others => <>), -- - hill_troll => (new string'("Hill Troll"), (3, 3, 3, 6, 6, 6), new material.drops'((material.meat, 3, 6), (material.skull, 1, 1)), effect.none), - cave_troll => (new string'("Cave Troll"), (3, 3, 3, 6, 6, 6), new material.drops'((material.meat, 3, 6), (material.skull, 1, 1)), effect.none), - mountain_troll => (new string'("Mountain Troll"), (3, 3, 3, 6, 6, 6), new material.drops'((material.meat, 3, 6), (material.skull, 1, 1)), effect.none), - swamp_worm => (new string'("Swamp Worm"), (2, 3, 3, 4, 6, 6), new material.drops'((material.meat, 3, 6), (material.bone, 1, 3)), effect.none), - sand_worm => (new string'("Sand Word"), (2, 3, 3, 4, 6, 6), new material.drops'((material.meat, 3, 6), (material.bone, 1, 3)), effect.none), - ash_worm => (new string'("Ash Worm"), (2, 3, 3, 4, 6, 6), new material.drops'((material.meat, 3, 6), (material.bone, 1, 3)), effect.none) + hill_troll => (new string'("Hill Troll"), (3, 3, 3, 6, 6, 6), (2, 2), new material.drops'((material.meat, 3, 6), (material.skull, 1, 1)), effect.none), + cave_troll => (new string'("Cave Troll"), (3, 3, 3, 6, 6, 6), (2, 2), new material.drops'((material.meat, 3, 6), (material.skull, 1, 1)), effect.none), + mountain_troll => (new string'("Mountain Troll"), (3, 3, 3, 6, 6, 6), (2, 2), new material.drops'((material.meat, 3, 6), (material.skull, 1, 1)), effect.none), + swamp_worm => (new string'("Swamp Worm"), (2, 3, 3, 4, 6, 6), (2, 2), new material.drops'((material.meat, 3, 6), (material.bone, 1, 3)), effect.none), + sand_worm => (new string'("Sand Word"), (2, 3, 3, 4, 6, 6), (2, 2), new material.drops'((material.meat, 3, 6), (material.bone, 1, 3)), effect.none), + ash_worm => (new string'("Ash Worm"), (2, 3, 3, 4, 6, 6), (2, 2), new material.drops'((material.meat, 3, 6), (material.bone, 1, 3)), effect.none) ); game : array (enumeration) of core.sprite;