Added fruit status
This commit is contained in:
@ -1275,11 +1275,25 @@ function _update()
|
||||
hack_has_sent_first_message = true
|
||||
out_string = "dc:" .. tostr(deaths) .. ";"
|
||||
|
||||
-- Dash status
|
||||
if hack_can_dash then
|
||||
out_string = out_string .. "ds:t;"
|
||||
else
|
||||
out_string = out_string .. "ds:f;"
|
||||
end
|
||||
|
||||
|
||||
-- Fruit status
|
||||
out_string = out_string .. "fr:"
|
||||
for i = 0,29 do
|
||||
if got_fruit[i] then
|
||||
out_string = out_string .. "t"
|
||||
else
|
||||
out_string = out_string .. "f"
|
||||
end
|
||||
end
|
||||
out_string = out_string .. ";"
|
||||
|
||||
|
||||
for k, v in pairs(hack_player_state) do
|
||||
out_string = out_string .. k ..":" .. v .. ";"
|
||||
|
Reference in New Issue
Block a user