mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-05-13 21:56:29 +02:00
planet_prison: rename "buddies" to "NAP"
Renames "buddies" to "non-aggressive pact", so it's less confusing.
This commit is contained in:
parent
b7ee3fa039
commit
01b55c8df1
@ -205,7 +205,7 @@ local function redraw_gui(p)
|
||||
local perks = global.this.perks[p.name]
|
||||
local chat_type = "Global chat"
|
||||
if not perks.chat_global then
|
||||
chat_type = "Buddies chat"
|
||||
chat_type = "NAP chat"
|
||||
end
|
||||
|
||||
local button = {
|
||||
@ -257,7 +257,7 @@ local function on_gui_click(e)
|
||||
|
||||
if elem.name == "chat_toggle" then
|
||||
if perks.chat_global then
|
||||
elem.caption = "Buddies chat"
|
||||
elem.caption = "NAP chat"
|
||||
perks.chat_global = false
|
||||
else
|
||||
elem.caption = "Global chat"
|
||||
@ -539,23 +539,23 @@ local function on_player_dropped_item(e)
|
||||
end
|
||||
|
||||
if p.force.get_cease_fire(peer.name) then
|
||||
p.print(string.format("The %s is your buddy already", peer.name))
|
||||
p.print(string.format("You're in the NAP with %s already", peer.name))
|
||||
return
|
||||
end
|
||||
|
||||
if global.this.last_friend[peer.name] == p.name then
|
||||
p.force.set_cease_fire(peer.name, true)
|
||||
peer.force.set_cease_fire(p.name, true)
|
||||
p.print(string.format("%s is now your buddy", peer.name))
|
||||
peer.print(string.format("%s is now your buddy", p.name))
|
||||
p.print(string.format("The NAP was formed with %s", peer.name))
|
||||
peer.print(string.format("The NAP was formed with %s", p.name))
|
||||
global.this.last_friend[p.name] = ""
|
||||
global.this.last_friend[peer.name] = ""
|
||||
return
|
||||
end
|
||||
|
||||
global.this.last_friend[p.name] = peer.name
|
||||
p.print(string.format("You want %s to be your buddy", peer.name))
|
||||
peer.print(string.format("The %s wants to be your buddy", p.name))
|
||||
p.print(string.format("You want to form the NAP with %s", peer.name))
|
||||
peer.print(string.format("The %s wants to form NAP with you", p.name))
|
||||
elseif ent.stack.name == "coal" then
|
||||
local ent_list = p.surface.find_entities_filtered({
|
||||
name = "character",
|
||||
@ -579,7 +579,7 @@ local function on_player_dropped_item(e)
|
||||
end
|
||||
|
||||
if not p.force.get_cease_fire(peer.name) then
|
||||
p.print(string.format("The %s is not your buddy", p.name))
|
||||
p.print(string.format("You don't have the NAP with %s", p.name))
|
||||
return
|
||||
end
|
||||
|
||||
@ -588,8 +588,8 @@ local function on_player_dropped_item(e)
|
||||
|
||||
global.this.last_friend[p.name] = ""
|
||||
global.this.last_friend[peer.name] = ""
|
||||
p.print(string.format("The %s is no longer your buddy", peer.name))
|
||||
peer.print(string.format("The %s is no longer your buddy", p.name))
|
||||
p.print(string.format("You're no longer in the NAP with %s", peer.name))
|
||||
peer.print(string.format("You're no longer in the NAP with %s", p.name))
|
||||
end
|
||||
end
|
||||
|
||||
@ -748,7 +748,7 @@ local function create_console_message(p, message)
|
||||
if global.this.perks[p.name].chat_global then
|
||||
msg_fmt = "[color=red]global:[/color] %s %s"
|
||||
else
|
||||
msg_fmt = "[color=green]buddies:[/color] %s %s"
|
||||
msg_fmt = "[color=green]nap:[/color] %s %s"
|
||||
end
|
||||
|
||||
return string.format(msg_fmt, prefix, p_msg)
|
||||
|
@ -498,9 +498,9 @@ This is an ultimate survival scenario with very hostile environment.
|
||||
- Flee by a rocket is a win. (Put a car into a rocket and enter the rocket).
|
||||
- The light is your best friend.
|
||||
[/font]
|
||||
[font=heading-1]Buddies[/font]
|
||||
[font=default-bold]Grab a raw fish [img=item/raw-fish] and drop it on someone with [virtual-signal=signal-Z] button (in default setting). This way you request an inmate to become your buddy.[/font]
|
||||
[font=default-bold]Grab a coal piece [img=item/coal] and drop it on someone with [virtual-signal=signal-Z] button (in default setting). This way you discard buddy status with an inname.[/font]
|
||||
[font=heading-1]NAP contractors (A non-aggression pact)[/font]
|
||||
[font=default-bold]Grab a raw fish [img=item/raw-fish] and drop it on someone with [virtual-signal=signal-Z] button (in default setting). This way you request an inmate to get in NAP with you.[/font]
|
||||
[font=default-bold]Grab a coal piece [img=item/coal] and drop it on someone with [virtual-signal=signal-Z] button (in default setting). This way you discard NAP with an inname.[/font]
|
||||
|
||||
[font=heading-1]Coins[/font]
|
||||
[font=default-bold]Coins [img=item/coin] are the main medium that you use in the market. You obtain them by researching stuff and pvp activites.[/font]
|
||||
|
Loading…
x
Reference in New Issue
Block a user