nanoui ui_interact -> nanoui_ui_interact

This commit is contained in:
Letter N
2020-11-25 09:52:09 +08:00
parent 4fca2ac7e3
commit dece5cc3fb
174 changed files with 423 additions and 400 deletions
@@ -57,9 +57,9 @@
..()
new_game()
// ui_interact handles transfer of data to NanoUI. Keep in mind that data you pass from here is actually sent to the client. In other words, don't send anything you don't want a client
// nano_ui_interact handles transfer of data to NanoUI. Keep in mind that data you pass from here is actually sent to the client. In other words, don't send anything you don't want a client
// to see, and don't send unnecessarily large amounts of data (due to laginess).
/datum/nano_module/arcade_classic/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1, var/datum/topic_state/state = default_state)
/datum/nano_module/arcade_classic/nano_ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1, var/datum/topic_state/state = default_state)
var/list/data = host.initial_data()
data["player_health"] = player_health
@@ -149,4 +149,4 @@
player_mana += regen
enemy_play()
check_gameover()
return 1
return 1