[5654] Makes this PR Compile

This one made me cry.
This commit is contained in:
Unknown
2019-02-23 12:30:16 -05:00
parent fc178c1e04
commit a4317b1910
19 changed files with 36 additions and 679 deletions
+1 -5
View File
@@ -58,12 +58,8 @@
infectedMachine.shut_up = 0
infectedMachine.shoot_inventory = 1
<<<<<<< HEAD
if(IsMultiple(activeFor, 12))
/* VORESTATION Removal - Using the pick below.
=======
if(ISMULTIPLE(activeFor, 12))
>>>>>>> 8da11c1... Makes math helpers defines for performance (#5654)
/* VORESTATION Removal - Using the pick below.
originMachine.speak(pick("Try our aggressive new marketing strategies!", \
"You should buy products to feed your lifestyle obsession!", \
"Consume!", \
+2 -2
View File
@@ -213,7 +213,7 @@
var/amount_to_take = min(I.reagents.get_reagent_amount(reagent_id), qty_need)
if(amount_to_take >= 1)
I.reagents.remove_reagent(reagent_id, amount_to_take, safety = 1)
qty_need = Ceiling(qty_need - amount_to_take)
qty_need = CEILING((qty_need - amount_to_take), 1)
return 1
else
log_debug("supply_demand event: not taking reagent '[reagent_id]': [amount_to_take]")
@@ -342,6 +342,6 @@
var/datum/alloy/A = pick(types)
types -= A // Don't pick the same thing twice
var/chosen_path = initial(A.product)
var/chosen_qty = Floor(rand(5, 100) * initial(A.product_mod))
var/chosen_qty = FLOOR(rand(5, 100) * initial(A.product_mod), 1)
required_items += new /datum/supply_demand_order/thing(chosen_qty, chosen_path)
return