# Duane's Dungeon - a rogue-like game # Copyright (C) 2022 Duane Robertson # slime.gd - a monster # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . extends Creature func set_species_attributes(): species = 'slime' damage_mult = 3 defense = { blast = 0.6, boulder = 0.4, charm = 0.2, flash = 0, lightning = 0.3, magic_fist = 0.6, razor_wind = 0.6, sleep = 0, weapon = 0.5, } description = 'A small glob of protoplasm that can disolve living tissue. Weapons are somewhat ineffective against these creatures, but they\'re annoyingly resistant to magic as well.' energy_max = 12 icon_name = 'blob' icon_fg = '609060' noise = '' strength_max = 8 vision = 3 super()