1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

More text and removed game.print

This commit is contained in:
SimonFlapse 2019-03-02 14:21:52 +01:00
parent 1f98b4457e
commit 5b16c18a2b
2 changed files with 10 additions and 6 deletions

View File

@ -11,27 +11,31 @@ local messages = {
'Welcome to Science and Military!\n\nCommand center of military and scientific advancement',
'You can only research in this area\n\nYou would have to import some science packs from other areas',
'You can only craft military items in this area\n\nOther areas depend on you sending military items to them',
'Spare some change?\nGo spend your hard earned coins here at the market'
'Spare some change?\nGo spend your hard earned coins here at the market',
'Is the world silent?\nYou need to use the /s command to chat with the entire server\n\nLike this: /s Hello World, I\'m Compilatron'
},
['quadrant2'] = {
'Welcome to Intermediate and Mining!\n\nThe only producer of steel and electronic circuits!',
'You can only produce steel in this area\n\nOther areas depend on you sending steel to them',
'You can only craft circuits in this area\n\nYou need to export them other areas!',
'Rumors say:\nThis area is extra rich in resources\n\nIt\'s ideal for mining operations',
'Spare some change?\nGo spend your hard earned coins here at the market'
'Spare some change?\nGo spend your hard earned coins here at the market',
'Is the world silent?\nYou need to use the /s command to chat with the entire server\n\nLike this: /s Hello World, I\'m Compilatron'
},
['quadrant3'] = {
'Welcome to Oil and High Tech!\n\nHome of oil processing and technology',
'You can only process crude oil in this area\n\nYou may need to import crude oil from other areas',
'You can only craft various high tech items in this ares\n\nYou may need to import a lot of intermediate products!',
'I have heard:\nThis area is a perfect place to launch a rocket\n\nOther areas can provide you the parts you need',
'Spare some change?\nGo spend your hard earned coins here at the market'
'Spare some change?\nGo spend your hard earned coins here at the market',
'Is the world silent?\nYou need to use the /s command to chat with the entire server\n\nLike this: /s Hello World, I\'m Compilatron'
},
['quadrant4'] = {
'Welcome to Logistics and Transport\n\nHome of spaghetti and trainyards',
'You can only produce logistical items in this area\n\nThe success of the region depends on you exporting these!',
'Did you know?\nMe and my siblings where born here',
'Spare some change?\nGo spend your hard earned coins here at the market'
'Spare some change?\nGo spend your hard earned coins here at the market',
'Is the world silent?\nYou need to use the /s command to chat with the entire server\n\nLike this: /s Hello World, I\'m Compilatron'
}
}
@ -95,7 +99,6 @@ function Public.add_compilatron(entity, name)
entity.surface.create_entity(
{name = 'compi-speech-bubble', text = messages[name][1], position = {0, 0}, source = entity}
)
game.print(messages[name][1])
current_messages[name] = {message = message, msg_number = 1}
end

View File

@ -25,7 +25,8 @@ Chat is restricted to your current quadrant.
Use /shout <message> (shortcut: /s <message>) to chat with entire server
The following quadrants exists:
Science and Military, Intermediate and Mining, Oil and High Tech, Logistics and Transport.
Science and Military, Intermediate and Mining,
Oil and High Tech, Logistics and Transport.
Common for all quadrants:
- Basic manufacturing and power