mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #9086 from RavingManiac/master
Intent menu appears on zoom
This commit is contained in:
@@ -259,11 +259,11 @@ datum/hud/New(mob/owner)
|
|||||||
if(!hud_used)
|
if(!hud_used)
|
||||||
usr << "\red This mob type does not use a HUD."
|
usr << "\red This mob type does not use a HUD."
|
||||||
return
|
return
|
||||||
|
|
||||||
if(!ishuman(src))
|
if(!ishuman(src))
|
||||||
usr << "\red Inventory hiding is currently only supported for human mobs, sorry."
|
usr << "\red Inventory hiding is currently only supported for human mobs, sorry."
|
||||||
return
|
return
|
||||||
|
|
||||||
if(!client) return
|
if(!client) return
|
||||||
if(client.view != world.view)
|
if(client.view != world.view)
|
||||||
return
|
return
|
||||||
@@ -325,7 +325,7 @@ datum/hud/New(mob/owner)
|
|||||||
return
|
return
|
||||||
if(client.view != world.view)
|
if(client.view != world.view)
|
||||||
return
|
return
|
||||||
|
|
||||||
if(hud_used.hud_shown)
|
if(hud_used.hud_shown)
|
||||||
hud_used.hud_shown = 0
|
hud_used.hud_shown = 0
|
||||||
if(src.hud_used.adding)
|
if(src.hud_used.adding)
|
||||||
@@ -337,6 +337,7 @@ datum/hud/New(mob/owner)
|
|||||||
if(src.hud_used.item_action_list)
|
if(src.hud_used.item_action_list)
|
||||||
src.client.screen -= src.hud_used.item_action_list
|
src.client.screen -= src.hud_used.item_action_list
|
||||||
src.client.screen -= src.internals
|
src.client.screen -= src.internals
|
||||||
|
src.client.screen += src.hud_used.action_intent //we want the intent swticher visible
|
||||||
else
|
else
|
||||||
hud_used.hud_shown = 1
|
hud_used.hud_shown = 1
|
||||||
if(src.hud_used.adding)
|
if(src.hud_used.adding)
|
||||||
|
|||||||
@@ -2,4 +2,5 @@ author: RavingManiac
|
|||||||
delete-after: True
|
delete-after: True
|
||||||
|
|
||||||
changes:
|
changes:
|
||||||
- tweak: "Candles now burn for about 30 mintutes."
|
- tweak: "Candles now burn for about 30 minutes."
|
||||||
|
- tweak: "Intent menu now appears while zooming with a sniper rifle."
|
||||||
|
|||||||
Reference in New Issue
Block a user