Skip to content

Commit

Permalink
Stops guardian spirits from being buckled (#21896)
Browse files Browse the repository at this point in the history
* the fix

* We use defines now
  • Loading branch information
DGamerL authored Aug 7, 2023
1 parent ce8c7fa commit cdef637
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions code/game/gamemodes/miniantags/guardian/guardian.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
summoner = host
host.grant_guardian_actions(src)

/mob/living/simple_animal/hostile/guardian/can_buckle()
return FALSE

/mob/living/simple_animal/hostile/guardian/med_hud_set_health()
if(summoner)
var/image/holder = hud_list[HEALTH_HUD]
Expand Down
10 changes: 5 additions & 5 deletions code/modules/mob/mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1303,23 +1303,23 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \

///can the mob be buckled to something by default?
/mob/proc/can_buckle()
return 1
return TRUE

///can the mob be unbuckled from something by default?
/mob/proc/can_unbuckle()
return 1
return TRUE


//Can the mob see reagents inside of containers?
/mob/proc/can_see_reagents()
return 0
return FALSE

//Can this mob leave its location without breaking things terrifically?
/mob/proc/can_safely_leave_loc()
return 1 // Yes, you can
return TRUE // Yes, you can

/mob/proc/IsVocal()
return 1
return TRUE

/mob/proc/get_access()
return list() //must return list or IGNORE_ACCESS
Expand Down

0 comments on commit cdef637

Please sign in to comment.