0.5.1
This commit is contained in:
parent
cb418f547d
commit
0460ca99d6
@ -32,3 +32,9 @@ initial release
|
||||
- intrusive bbcode now client toggle
|
||||
- lots of stuff removed due to 1.09 having it already!
|
||||
- panel stays closed if closed, open if open
|
||||
|
||||
0.5.1
|
||||
----
|
||||
- Lure 4.1.0 compatibility
|
||||
- log fixes
|
||||
- spawn fixes
|
||||
|
@ -47,12 +47,13 @@ func _ready():
|
||||
|
||||
visible = MANAGER.lucys_menu_visible
|
||||
|
||||
get_node("%lucy_bbcode").disabled = MANAGER.host_required and not Network.GAME_MASTER
|
||||
get_node("%lucy_raincloud").disabled = not Network.GAME_MASTER or not MANAGER.ingame
|
||||
get_node("%lucy_meteor").disabled = not Network.GAME_MASTER or not MANAGER.ingame
|
||||
get_node("%lucy_freezerain").disabled = not Network.GAME_MASTER or not MANAGER.ingame
|
||||
get_node("%lucy_clearrain").disabled = not Network.GAME_MASTER or not MANAGER.ingame
|
||||
get_node("%lucy_clearmeteor").disabled = not Network.GAME_MASTER or not MANAGER.ingame
|
||||
var can_spawn = (Network.GAME_MASTER or Network.PLAYING_OFFLINE) and MANAGER.ingame
|
||||
|
||||
get_node("%lucy_raincloud").disabled = not can_spawn
|
||||
get_node("%lucy_meteor").disabled = not can_spawn
|
||||
get_node("%lucy_freezerain").disabled = not can_spawn
|
||||
get_node("%lucy_clearrain").disabled = not can_spawn
|
||||
get_node("%lucy_clearmeteor").disabled = not can_spawn
|
||||
|
||||
func _input(event):
|
||||
if event is InputEventKey and event.scancode == KEY_F5 && event.pressed:
|
||||
|
@ -97,7 +97,7 @@ func safe_message(user_id, color, boring_msg, local, lucy_user, lucy_msg):
|
||||
var final_message = filter_message.replace("%u", "[color=#" + str(color) + "]" + username + "[/color]")
|
||||
var thing = {"username":username, "color":color, "filter_message":filter_message,
|
||||
"final_message":final_message,"lucy_user":lucy_user,"lucy_msg":lucy_msg}
|
||||
print("FUCK2 ", thing)
|
||||
#print("FUCK2 ", thing)
|
||||
Network._update_chat(final_message, local)
|
||||
|
||||
# this is stinky
|
||||
@ -109,7 +109,7 @@ func process_message(lit_text, final, prefix, suffix, endcap, spoken_text, local
|
||||
"custom_name_enabled": custom_name_enabled, "allow_bbcode": allow_bbcode,
|
||||
"allowed_tags": allowed_tags
|
||||
}
|
||||
print("FUCK ", thing)
|
||||
#print("FUCK ", thing)
|
||||
if Network.GAME_MASTER and lit_text.begins_with("%"):
|
||||
var bb_dat = bbcode_process(lit_text)
|
||||
lucy_send_message(lit_text.trim_prefix('%'), bb_dat.stripped, false)
|
||||
@ -125,7 +125,7 @@ func process_message(lit_text, final, prefix, suffix, endcap, spoken_text, local
|
||||
msg = prefix + "%u" + endcap + p.fin + suffix
|
||||
boring_msg = prefix + "%u" + endcap + p.stripped + suffix
|
||||
speak = p.stripped
|
||||
print("FUCK3 ", {"msg":msg,"boring_msg":boring_msg,"p":p})
|
||||
#print("FUCK3 ", {"msg":msg,"boring_msg":boring_msg,"p":p})
|
||||
if msg != "": lucy_send_message(msg, boring_msg, local)
|
||||
|
||||
if spoken_text != "" and colon: playerhud.emit_signal("_message_sent", speak)
|
||||
|
@ -47,6 +47,8 @@ public class LucyServerBrowserChanges: IScriptMod
|
||||
code_to_add = new Token[] {
|
||||
new Token(TokenType.Comma),
|
||||
new IdentifierToken("lucy_display"),
|
||||
new Token(TokenType.OpAssign),
|
||||
new ConstantToken(new StringVariant("")),
|
||||
}
|
||||
},
|
||||
new CodeChange {
|
||||
|
Loading…
Reference in New Issue
Block a user