mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
VS: Language issues
These issues don't prevent compiling, but are strange issues nonetheless.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
var/emagged = 0
|
||||
|
||||
/obj/item/weapon/dogborg/jaws/small/attack_self(mob/user)
|
||||
var/mob/living/silicon/robot.R = user
|
||||
var/mob/living/silicon/robot/R = user
|
||||
if(R.emagged || R.emag_items)
|
||||
emagged = !emagged
|
||||
if(emagged)
|
||||
@@ -187,7 +187,7 @@
|
||||
. += "<span class='notice'>[src] is dry.</span>"
|
||||
|
||||
/obj/item/device/dogborg/tongue/attack_self(mob/user)
|
||||
var/mob/living/silicon/robot.R = user
|
||||
var/mob/living/silicon/robot/R = user
|
||||
if(R.emagged || R.emag_items)
|
||||
emagged = !emagged
|
||||
if(emagged)
|
||||
@@ -222,7 +222,7 @@
|
||||
to_chat(user, "<span class='notice'>You finish licking off \the [target.name].</span>")
|
||||
water.use_charge(5)
|
||||
qdel(target)
|
||||
var/mob/living/silicon/robot.R = user
|
||||
var/mob/living/silicon/robot/R = user
|
||||
R.cell.charge += 50
|
||||
else if(istype(target,/obj/item))
|
||||
if(istype(target,/obj/item/trash))
|
||||
@@ -231,7 +231,7 @@
|
||||
user.visible_message("[user] finishes eating \the [target.name].", "<span class='notice'>You finish eating \the [target.name].</span>")
|
||||
to_chat(user, "<span class='notice'>You finish off \the [target.name].</span>")
|
||||
qdel(target)
|
||||
var/mob/living/silicon/robot.R = user
|
||||
var/mob/living/silicon/robot/R = user
|
||||
R.cell.charge += 250
|
||||
water.use_charge(5)
|
||||
return
|
||||
@@ -240,8 +240,8 @@
|
||||
if(do_after (user, 50))
|
||||
user.visible_message("[user] finishes gulping down \the [target.name].", "<span class='notice'>You finish swallowing \the [target.name].</span>")
|
||||
to_chat(user, "<span class='notice'>You finish off \the [target.name], and gain some charge!</span>")
|
||||
var/mob/living/silicon/robot.R = user
|
||||
var/obj/item/weapon/cell.C = target
|
||||
var/mob/living/silicon/robot/R = user
|
||||
var/obj/item/weapon/cell/C = target
|
||||
R.cell.charge += C.maxcharge / 3
|
||||
water.use_charge(5)
|
||||
qdel(target)
|
||||
@@ -255,7 +255,7 @@
|
||||
target.clean_blood()
|
||||
else if(ishuman(target))
|
||||
if(src.emagged)
|
||||
var/mob/living/silicon/robot.R = user
|
||||
var/mob/living/silicon/robot/R = user
|
||||
var/mob/living/L = target
|
||||
if(R.cell.charge <= 666)
|
||||
return
|
||||
@@ -298,7 +298,7 @@
|
||||
flags |= NOBLUDGEON
|
||||
|
||||
/obj/item/pupscrubber/attack_self(mob/user)
|
||||
var/mob/living/silicon/robot.R = user
|
||||
var/mob/living/silicon/robot/R = user
|
||||
if(!enabled)
|
||||
R.scrubbing = TRUE
|
||||
enabled = TRUE
|
||||
|
||||
@@ -157,7 +157,7 @@
|
||||
|
||||
if("corrupted") // Load them up with ion laws.
|
||||
var/datum/ai_laws/laws = new() // Start with an empty lawset.
|
||||
for(1 to rand(1, 3))
|
||||
for(var/i=1 to rand(1, 3))
|
||||
laws.add_ion_law(generate_ion_law(exclude_crew_names = TRUE))
|
||||
return laws
|
||||
|
||||
|
||||
Reference in New Issue
Block a user