Gerkiz / RPG

A Diablo like RPG stats system - now with magic!
The Unlicense
7 stars 3 forks source link

Add monsters from other mods. #23

Closed CPB1337 closed 1 month ago

CPB1337 commented 1 month ago

Hello. I tried to add monsters from the "Armoured Biters" mod, but it didn't work. The mod still doesn't give xp for killing them. What am I doing wrong? Code from table.lua: image this.rpg_extra.rpg_xp_yield = { ['behemoth-biter'] = 16, ['behemoth-spitter'] = 16, ['behemoth-worm-turret'] = 64, ['big-biter'] = 8, ['big-spitter'] = 8, ['big-worm-turret'] = 48, ['biter-spawner'] = 64, ['character'] = 16, ['gun-turret'] = 8, ['laser-turret'] = 16, ['medium-biter'] = 4, ['medium-spitter'] = 4, ['medium-worm-turret'] = 32, ['small-biter'] = 1, ['small-spitter'] = 1, ['small-worm-turret'] = 16, ['spitter-spawner'] = 64, ['small-armoured-biter'] = 2, ['medium-armoured-biter'] = 8, ['big-armoured-biter'] = 16, ['behemoth-armoured-biter'] = 32, ['leviathan-armoured-biter'] = 32, ['armoured-biter-spawner'] = 128 } end