Okey I understand.
disaster() function is used for event signal.
Search found 12 matches
- Sat Feb 24, 2018 8:45 am
- Forum: Rulesets and modpacks
- Topic: Lua: how to call disaster()
- Replies: 1
- Views: 2584
- Sat Feb 24, 2018 4:02 am
- Forum: Rulesets and modpacks
- Topic: Lua: how to call disaster()
- Replies: 1
- Views: 2584
Lua: how to call disaster()
Hi. I'm using freeciv 2.5.7. Lua reference manual says: disaster(Disaster disaster, City city) What is the Disaster? I wrote the code to cause a disaster (fire) in event_city: local disaster_event = "disaster_fire" disaster(disaster_event, event_city) but I got a error. lua error: attempt ...
- Mon Jun 20, 2016 10:02 am
- Forum: Rulesets and modpacks
- Topic: Empires ruleset
- Replies: 5
- Views: 12735
Re: Empires ruleset
The new empires ruleset is available for freeciv 2.5.
Implementing the events by Lua script is a major change.
Some wonder calls a event function.
For example, the Great Mosque of Samarra offers the Gold
if Persian has finished a researching.
Implementing the events by Lua script is a major change.
Some wonder calls a event function.
For example, the Great Mosque of Samarra offers the Gold
if Persian has finished a researching.
- Mon Jul 20, 2015 9:50 pm
- Forum: Rulesets and modpacks
- Topic: How to specify the exclusive building
- Replies: 2
- Views: 4488
Re: How to specify the exclusive building
That's a good news!
- Mon Jul 20, 2015 10:03 am
- Forum: Rulesets and modpacks
- Topic: How to specify the exclusive building
- Replies: 2
- Views: 4488
How to specify the exclusive building
Hi, I want to build Building_A or Building_B, but I can build both Building_A and Building_B. Why? [building_A] name = _("Building A") genus = "SmallWonder" flags = "SaveSmallWonder" reqs = { "type", "name", "range" "Tech", "...
- Thu May 21, 2015 9:31 pm
- Forum: Rulesets and modpacks
- Topic: Modify Spy Ruleset to Land Directly into a City
- Replies: 7
- Views: 8883
- Thu Mar 12, 2015 11:38 pm
- Forum: Tech support
- Topic: freeciv-server crash on additional building
- Replies: 0
- Views: 3214
freeciv-server crash on additional building
Hi,all. I got a freeciv trouble when I wrote my rulesets. This is a minimum ruleset to reproduce the crash. (for 2.5-RC1) Details Units:Strong Horsemen requires Buildings:Stable at Tech:Horseback Riding to build it. (impr_req = "Stable") Server will crashe if AI player has completed resear...
- Thu Jan 29, 2015 12:19 pm
- Forum: Rulesets and modpacks
- Topic: Empires ruleset
- Replies: 5
- Views: 12735
Re: Empires ruleset
I had some mistakes. I will upload a new file.cazfi wrote:2.4 server gives two errors while loading this:
Thank you.
- Sat Jan 10, 2015 4:11 am
- Forum: Rulesets and modpacks
- Topic: Empires ruleset
- Replies: 5
- Views: 12735
Empires ruleset
Hi all, I wrote Empires ruleset for Freeciv 2.4. One of the purposes is to provide a multiple strategies in multiplay game. Please comment if you feel something to play the ruleset. Thank you. ---------------------------------------------------------------------- Please read readme-empires-en.txt be...
- Thu Jan 01, 2015 11:18 am
- Forum: Multiplayer / Online gaming
- Topic: How to get to know the player which already surrendered
- Replies: 1
- Views: 4769
Re: How to get to know the player which already surrendered
I want Freeciv to implement this feature.is there any method of getting to know the player which surrendered?