1
0
mirror of https://github.com/veden/Rampant.git synced 2025-02-05 13:14:51 +02:00

added print gps coordinates debug function to constants.lua

This commit is contained in:
Aaron Veden 2021-11-25 19:26:36 -08:00
parent 0e518eee0e
commit 07af250a20
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84

View File

@ -1623,5 +1623,9 @@ constants.FACTION_MUTATION_MAPPING["turret"] = {"trap"}
constants.FACTION_MUTATION_MAPPING["trap"] = {"turret"}
constants.FACTION_MUTATION_MAPPING["utility"] = {"hive", "biter-spawner", "spitter-spawner"}
function constants.gpsDebug(x, y, msg)
game.print("[gps=".. x .. "," .. y .. "]", msg)
end
constantsG = constants
return constants