mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Minor nations bug fixes
This commit is contained in:
@@ -117,9 +117,11 @@ datum/game_mode/nations
|
||||
AI.add_inherent_law("Remain available to mediate all conflicts between the various nations when asked to.")
|
||||
AI.show_laws()
|
||||
for(var/mob/living/silicon/robot/R in AI.connected_robots)
|
||||
var/obj/item/device/mmi/oldmmi = R.mmi
|
||||
R.change_mob_type(/mob/living/silicon/robot/peacekeeper, null, null, 1, 1 )
|
||||
R.lawsync()
|
||||
R.show_laws()
|
||||
qdel(oldmmi)
|
||||
|
||||
/**
|
||||
* LateSpawn hook.
|
||||
@@ -203,6 +205,10 @@ datum/game_mode/nations
|
||||
H << "You do not belong to any nation and are free to sell your services to the highest bidder."
|
||||
return 1
|
||||
|
||||
if(H.mind.assigned_role == "AI")
|
||||
mode.set_ai()
|
||||
return 1
|
||||
|
||||
else
|
||||
message_admins("[H.name] with [H.mind.assigned_role] could not find any nation to assign!")
|
||||
return 1
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
if(!O)
|
||||
return 0
|
||||
|
||||
O.mouse_opacity = 2
|
||||
O.mouse_opacity = 2
|
||||
if(istype(O,/obj/item/borg/sight))
|
||||
var/obj/item/borg/sight/S = O
|
||||
sight_mode &= ~S.sight_mode
|
||||
|
||||
|
||||
if(client)
|
||||
client.screen -= O
|
||||
contents -= O
|
||||
@@ -71,6 +71,7 @@
|
||||
sight_mode |= module_state_3:sight_mode
|
||||
else
|
||||
src << "You need to disable a module first!"
|
||||
src.update_icons()
|
||||
|
||||
/mob/living/silicon/robot/proc/uneq_active()
|
||||
uneq_module(module_active)
|
||||
|
||||
@@ -1008,16 +1008,16 @@ var/list/robot_verbs_default = list(
|
||||
else
|
||||
overlays += "ov-openpanel -c"
|
||||
|
||||
if(modtype == ("Combat" || "Peacekeeper"))
|
||||
var/combat = list("Combat","Peacekeeper")
|
||||
if(modtype in combat)
|
||||
if (base_icon == "")
|
||||
base_icon = icon_state
|
||||
if(module_active && istype(module_active,/obj/item/borg/combat/mobility))
|
||||
icon_state = "[base_icon]-roll"
|
||||
else
|
||||
icon_state = base_icon
|
||||
|
||||
if(activated(/obj/item/borg/combat/shield))
|
||||
overlays += "[icon_state]-shield"
|
||||
if(activated(/obj/item/borg/combat/shield))
|
||||
overlays += "[base_icon]-shield"
|
||||
|
||||
if(jetpackoverlay)
|
||||
overlays += "minerjetpack-[icon_state]"
|
||||
|
||||
Reference in New Issue
Block a user