Merge pull request #2798 from Rykka-Stormheart/shep-dev-compile-errors

Misc DMLang/VSCode Compiler Fixes + Some Actual Compiler Fixes
This commit is contained in:
Razgriz
2021-09-17 03:15:52 -07:00
committed by GitHub
56 changed files with 719 additions and 715 deletions
+2 -2
View File
@@ -10,7 +10,7 @@
var/parasitic = FALSE //Digestion immunity and nutrition leeching variable
mob/living/proc/check_vorefootstep(var/m_intent, var/turf/T)
/mob/living/proc/check_vorefootstep(var/m_intent, var/turf/T)
if(vore_footstep_volume_cooldown++ >= 5) //updating the 'dominating' belly, the one that has most liquid and is loudest.
choose_vorefootstep()
vore_footstep_volume_cooldown = 0
@@ -229,7 +229,7 @@ mob/living/proc/check_vorefootstep(var/m_intent, var/turf/T)
T = input("Choose whose belly to rub") as null| mob in view(1,src)
if(!T)
return FALSE
if(!T in view(1,src))
if(!(T in view(1,src)))
return FALSE
if(T.vore_selected)
var/obj/belly/B = T.vore_selected
+3 -1
View File
@@ -258,7 +258,9 @@
selected_list["liq_interacts"]["liq_reagent_addons"] = list()
for(var/flag_name in selected.reagent_mode_flag_list)
if(selected.reagent_mode_flags & selected.reagent_mode_flag_list[flag_name])
selected_list["liq_interacts"]["liq_reagent_addons"].Add(flag_name)
var/list/selected_list_member = selected_list["liq_interacts"]["liq_reagent_addons"]
ASSERT(islist(selected_list_member))
selected_list_member.Add(flag_name)
selected_list["show_liq_fullness"] = selected.show_fullness_messages
selected_list["liq_messages"] = list()
+5 -5
View File
@@ -39,7 +39,7 @@
..()
update_icon()
/obj/item/weapon/oldtwohanded/mob_can_equip(M as mob, slot)
/obj/item/weapon/oldtwohanded/mob_can_equip(M as mob, slot, disable_warning = FALSE)
//Cannot equip wielded items.
if(wielded)
to_chat(M, "<span class='warning'>Unwield the [initial(name)] first!</span>")
@@ -102,11 +102,11 @@
icon_state = "offhand"
name = "offhand"
unwield()
qdel(src)
/obj/item/weapon/oldtwohanded/offhand/unwield()
qdel(src)
wield()
qdel(src)
/obj/item/weapon/oldtwohanded/offhand/wield()
qdel(src)
/obj/item/weapon/oldtwohanded/offhand/update_icon()
return
@@ -11,26 +11,26 @@
var/unbuttoned = 0
verb/toggle()
set name = "Toggle coat buttons"
set category = "Object"
set src in usr
/obj/item/clothing/suit/storage/labcoat/fluff/eioni_1/verb/toggle()
set name = "Toggle coat buttons"
set category = "Object"
set src in usr
if(!usr.canmove || usr.stat || usr.restrained())
return 0
if(!usr.canmove || usr.stat || usr.restrained())
return 0
switch(unbuttoned)
if(0)
icon_state = "[initial(icon_state)]_open"
item_state = "[initial(item_state)]_open"
unbuttoned = 1
usr << "You unbutton the coat."
if(1)
icon_state = "[initial(icon_state)]"
item_state = "[initial(item_state)]"
unbuttoned = 0
usr << "You button up the coat."
usr.update_inv_wear_suit()
switch(unbuttoned)
if(0)
icon_state = "[initial(icon_state)]_open"
item_state = "[initial(item_state)]_open"
unbuttoned = 1
usr << "You unbutton the coat."
if(1)
icon_state = "[initial(icon_state)]"
item_state = "[initial(item_state)]"
unbuttoned = 0
usr << "You button up the coat."
usr.update_inv_wear_suit()
/obj/item/clothing/under/fluff/eioni_2
@@ -51,26 +51,26 @@
/////////////////////////////TODO//////////////////////
var/unbuttoned = 0
verb/toggle()
set name = "Toggle coat buttons"
set category = "Object"
set src in usr
/obj/item/clothing/suit/storage/hoodie/fluff/redax_1/verb/toggle()
set name = "Toggle coat buttons"
set category = "Object"
set src in usr
if(!usr.canmove || usr.stat || usr.restrained())
return 0
if(!usr.canmove || usr.stat || usr.restrained())
return 0
switch(unbuttoned)
if(0)
icon_state = "[initial(icon_state)]_open"
item_state = "[initial(item_state)]_open"
unbuttoned = 1
usr << "You unbutton the coat."
if(1)
icon_state = "[initial(icon_state)]"
item_state = "[initial(item_state)]"
unbuttoned = 0
usr << "You button up the coat."
usr.update_inv_wear_suit()
switch(unbuttoned)
if(0)
icon_state = "[initial(icon_state)]_open"
item_state = "[initial(item_state)]_open"
unbuttoned = 1
usr << "You unbutton the coat."
if(1)
icon_state = "[initial(icon_state)]"
item_state = "[initial(item_state)]"
unbuttoned = 0
usr << "You button up the coat."
usr.update_inv_wear_suit()
/obj/item/clothing/under/fluff/redax_2
name = "Alarming outfit"
@@ -172,26 +172,26 @@
var/unbuttoned = 0
verb/toggle()
set name = "Toggle coat buttons"
set category = "Object"
set src in usr
/obj/item/clothing/suit/storage/labcoat/fluff/zeke_vincir_3/verb/toggle()
set name = "Toggle coat buttons"
set category = "Object"
set src in usr
if(!usr.canmove || usr.stat || usr.restrained())
return 0
if(!usr.canmove || usr.stat || usr.restrained())
return 0
switch(unbuttoned)
if(0)
icon_state = "[initial(icon_state)]_open"
item_state = "[initial(item_state)]_open"
unbuttoned = 1
usr << "You unbutton the coat."
if(1)
icon_state = "[initial(icon_state)]"
item_state = "[initial(item_state)]"
unbuttoned = 0
usr << "You button up the coat."
usr.update_inv_wear_suit()
switch(unbuttoned)
if(0)
icon_state = "[initial(icon_state)]_open"
item_state = "[initial(item_state)]_open"
unbuttoned = 1
usr << "You unbutton the coat."
if(1)
icon_state = "[initial(icon_state)]"
item_state = "[initial(item_state)]"
unbuttoned = 0
usr << "You button up the coat."
usr.update_inv_wear_suit()
/obj/item/clothing/mask/fluff/lucerna_1 //Doesn't work for some reason
name = "Mysterious mask"
@@ -853,26 +853,26 @@
body_parts_covered = UPPER_TORSO
var/hoodup = 1
verb/toggle()
set name = "Toggle Hood"
set category = "Object"
set src in usr
/obj/item/clothing/suit/storage/fluff/ivy/verb/toggle()
set name = "Toggle Hood"
set category = "Object"
set src in usr
if(!usr.canmove || usr.stat || usr.restrained())
return 0
if(!usr.canmove || usr.stat || usr.restrained())
return 0
switch(hoodup)
if(0)
icon_state = "[initial(icon_state)]"
item_state = "[initial(item_state)]"
hoodup = 1
usr << "You take off the hood."
if(1)
icon_state = "[initial(icon_state)]_up"
item_state = "[initial(item_state)]_up"
hoodup= 0
usr << "You put on the hood."
usr.update_inv_wear_suit()
switch(hoodup)
if(0)
icon_state = "[initial(icon_state)]"
item_state = "[initial(item_state)]"
hoodup = 1
usr << "You take off the hood."
if(1)
icon_state = "[initial(icon_state)]_up"
item_state = "[initial(item_state)]_up"
hoodup= 0
usr << "You put on the hood."
usr.update_inv_wear_suit()
//Kita
@@ -1310,21 +1310,19 @@
icon_state = "kentauri_uniform"
item_state = "kentauri_uniform"
/obj/item/clothing/suit/armor/vest/harpsong
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/horse/big))
return ..()
else
to_chat(H,"<span class='warning'>You need to have a kentauri half to wear this.</span>")
return 0
/obj/item/clothing/suit/armor/vest/harpsong/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/horse/big))
return ..()
else
to_chat(H,"<span class='warning'>You need to have a kentauri half to wear this.</span>")
return 0
/obj/item/clothing/suit/armor/vest/harpsong
make_worn_icon(var/body_type,var/slot_name,var/inhands,var/default_icon,var/default_layer = 0)
var/image/result = ..()
result.pixel_x = -16
result.layer = BODY_LAYER + 15
return result
/obj/item/clothing/suit/armor/vest/harpsong/make_worn_icon(var/body_type,var/slot_name,var/inhands,var/default_icon,var/default_layer = 0, var/icon/clip_mask = null)
var/image/result = ..()
result.pixel_x = -16
result.layer = BODY_LAYER + 15
return result
// *****
// SASOperative
@@ -533,7 +533,7 @@
// **************
// DameonOwen
// **************
/*CHOMP Remove this causes runtimes
/obj/item/weapon/reagent_containers/food/snacks/cookie/mysterious
name = "a mysterious cookie"
desc = "DAS A BIG COOKIE!!!"
@@ -548,7 +548,8 @@
M.resize(3)
M.drop_from_inventory(src)
qdel(src)
//CHOMP Remove end
*/
// **************
// NESgamer190
@@ -682,4 +683,4 @@
allowed += P
new P(src)
..()
return
return
+10 -12
View File
@@ -29,19 +29,17 @@
flags_inv = HIDEGLOVES|HIDEJUMPSUIT|HIDETAIL|HIDETIE|HIDEHOLSTER|HIDESHOES
species_restricted = null //Species restricted since all it cares about is a taur half
/obj/item/clothing/suit/space/rig/fluff/sheri
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
item_state = icon_state
pixel_x = -16
update_icon()
return 1
/obj/item/clothing/suit/space/rig/fluff/sheri/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
item_state = icon_state
pixel_x = -16
update_icon()
return 1
/obj/item/clothing/suit/space/rig/fluff/sheri
make_worn_icon(var/body_type,var/slot_name,var/inhands,var/default_icon,var/default_layer = 0)
var/image/result = ..()
result.pixel_x = -16
result.layer = BODY_LAYER + 15
return result
/obj/item/clothing/suit/space/rig/fluff/sheri/make_worn_icon(var/body_type,var/slot_name,var/inhands,var/default_icon,var/default_layer = 0,var/icon/clip_mask = null)
var/image/result = ..()
result.pixel_x = -16
result.layer = BODY_LAYER + 15
return result
/obj/item/clothing/head/helmet/space/rig/hazmat/fluff/sheri
icon = 'icons/vore/rig_yw/rigs_head.dmi'