from server.utils import mv_yx_in_dir_legal, rand, id_setter
from server.new_thing import new_Thing
prolscore = world_db["ThingTypes"][t["T_TYPE"]]["TT_PROLIFERATE"]
if prolscore and (1 == prolscore or 1 == (rand.next() % prolscore)) and \
from server.utils import mv_yx_in_dir_legal, rand, id_setter
from server.new_thing import new_Thing
prolscore = world_db["ThingTypes"][t["T_TYPE"]]["TT_PROLIFERATE"]
if prolscore and (1 == prolscore or 1 == (rand.next() % prolscore)) and \