to_chat replacing stream operator

This commit is contained in:
Arokha Sieyes
2020-02-17 13:14:08 -05:00
committed by Leshana
parent 5aaba55222
commit 5b15917d32
712 changed files with 4250 additions and 4220 deletions
+6 -6
View File
@@ -36,8 +36,8 @@ var/global/datum/locations/milky_way/all_locations = new()
choice = input(user, "Please choose a location.","Locations") as null|anything in choice.contents
else
break
user << choice.name
user << choice.desc
to_chat(user,choice.name)
to_chat(user,choice.desc)
return choice
// var/datum/locations/choice = input(user, "Please choose a location.","Locations") as null|anything in all_locations
@@ -46,11 +46,11 @@ var/global/datum/locations/milky_way/all_locations = new()
/*
/datum/locations/proc/show_contents()
// world << "[src]\n[desc]"
// to_world("[src]\n[desc]")
for(var/datum/locations/a in contents)
world << "[a]\n[a.parent ? "Located in [a.parent]\n" : ""][a.desc]"
to_world("[a]\n[a.parent ? "Located in [a.parent]\n" : ""][a.desc]")
a.show_contents()
world << "\n"
to_world("\n")
/datum/locations/proc/count_locations()
var/i = 0
@@ -72,5 +72,5 @@ var/global/datum/locations/milky_way/all_locations = new()
set name = "Count Locations"
set category = "Debug"
var/location_number = locations.count_locations()
world << location_number
to_world(location_number)
*/