mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-26 13:36:48 +01:00
Merge pull request #590 from Sharkmare/patch-66
Mobs now stand up if pinned
This commit is contained in:
@@ -75,6 +75,8 @@
|
||||
var/recruit_cmd_str = "Hey," // The thing you prefix commands with when bossing them around
|
||||
var/intelligence_level = SA_ANIMAL// How 'smart' the mob is ICly, used to deliniate between animal, robot, and humanoid SAs.
|
||||
|
||||
var/noresting = 1 //mob will automatically unrest if not player controlled.
|
||||
|
||||
//Mob environment settings
|
||||
var/minbodytemp = 250 // Minimum "okay" temperature in kelvin
|
||||
var/maxbodytemp = 350 // Maximum of above
|
||||
@@ -359,7 +361,13 @@
|
||||
if(life_disabled)
|
||||
return 0
|
||||
//VOREStation Edit End
|
||||
|
||||
|
||||
//CHOMPSTATION edit
|
||||
if(resting && !client && noresting)
|
||||
resting = !resting
|
||||
update_icon()
|
||||
//CHOMPSTATION EDIT END
|
||||
|
||||
..()
|
||||
|
||||
//Health
|
||||
|
||||
Reference in New Issue
Block a user