Search found 22 matches
- Fri Jul 15, 2022 11:25 am
- Forum: Rulesets and modpacks
- Topic: what can cause the game to ignore a mining/irrigation_pct effect?
- Replies: 6
- Views: 7226
Re: what can cause the game to ignore a mining/irrigation_pct effect?
wait a minute for some effects it is value and for other it is amount? i hope you can see how that could be confusing, how can i know which use value and which use amount? No, it's "value". I don't know where you got that "amount" from. i was using amount for all, and it worked ...
- Thu Jul 14, 2022 8:33 pm
- Forum: Rulesets and modpacks
- Topic: what can cause the game to ignore a mining/irrigation_pct effect?
- Replies: 6
- Views: 7226
Re: what can cause the game to ignore a mining/irrigation_pct effect?
amount = 100 This should be "value". Run the server with --warnings commandline parameter. Your ruleset gives a bunch of other "unused entry" warnings in addition to this "amount" one, wait a minute for some effects it is value and for other it is amount? i hope you ca...
- Thu Jul 14, 2022 3:53 pm
- Forum: Rulesets and modpacks
- Topic: what can cause the game to ignore a mining/irrigation_pct effect?
- Replies: 6
- Views: 7226
what can cause the game to ignore a mining/irrigation_pct effect?
i have a effect with [effect_why_won_t_this_work] type = "Irrigation_Pct" amount = 100 reqs = {"type","name","range","present" "Extra","Farmland","Tile",TRUE } and for some reason it doesn't show on the help neither does...
- Thu Jul 14, 2022 11:02 am
- Forum: Rulesets and modpacks
- Topic: some questions about ruleset development, some specific to the master branch of freeciv
- Replies: 17
- Views: 22813
Re: some questions about ruleset development, some specific to the master branch of freeciv
i tried to add them to the terrains without adding them as resources and that caused a immediate segmentation fault What do you mean by "add them to the terrains without adding them as resources"? In any case, a segfault is a bug, so please report -> https://osdn.net/ticket/newticket.php?...
- Wed Jul 13, 2022 1:07 pm
- Forum: Wishlist
- Topic: Meta sections for rulesets
- Replies: 5
- Views: 17311
Re: Meta sections for rulesets
Well, some macro language would be natural to be included in specfile format, but it's dubious if it worth the labour invested before replacing the format with something more generic and handy, likely somebody is doing it towards XML. is it currently planned to replace the current format with somet...
- Tue Jul 12, 2022 12:34 pm
- Forum: Wishlist
- Topic: Meta sections for rulesets
- Replies: 5
- Views: 17311
Meta sections for rulesets
i am creating a ruleset, and i commonly find myself basically copypasting sections and changing 1 or 2 things only or always adding the same thing to many similar sections, for instance the nation group requirement that i have for my advances as each belongs to a tech tree, but they share a class, s...
- Tue Jul 12, 2022 11:56 am
- Forum: Rulesets and modpacks
- Topic: some questions about ruleset development, some specific to the master branch of freeciv
- Replies: 17
- Views: 22813
Re: some questions about ruleset development, some specific to the master branch of freeciv
firstly my ruleset has a few tech trees but none of them are available to all nations but there are somethings i want to make available to all nations through research, in the case of things like governments for which i can't have multiple requirement vectors i have decided to create a unresearchab...
- Tue Jul 12, 2022 11:43 am
- Forum: Rulesets and modpacks
- Topic: some questions about ruleset development, some specific to the master branch of freeciv
- Replies: 17
- Views: 22813
Re: some questions about ruleset development, some specific to the master branch of freeciv
Put some "lua file myruleset/myfile.lua" lines into your ruleset starter file below the "rulesetdir myruleset" line. if i do that would i be able to refer to a function in another file? for instance if i have doX in default.lua that calls doY but doY is in myruleset/myfile.lua, ...
- Mon Jul 11, 2022 6:44 pm
- Forum: Rulesets and modpacks
- Topic: some questions about ruleset development, some specific to the master branch of freeciv
- Replies: 17
- Views: 22813
some questions about ruleset development, some specific to the master branch of freeciv
i am developing a ruleset, as i have specific needs to my ruleset and i am planning to contribute code i am doing so on the master branch. i found and am expecting some problems that there may be solutions to and i have a few questions. firstly my ruleset has a few tech trees but none of them are av...
- Tue Mar 22, 2022 11:27 am
- Forum: Contribution
- Topic: where to discuss possible changes and current code
- Replies: 4
- Views: 1729
Re: where to discuss possible changes and current code
I am returning to complete my patch, i had a lot of tests so i was swamped with college work. in my patch i am changing the internal representation of actions from a array to a linked list(specifically a speclist from speclist.h), i did that and it compiles. However i get a lot of error messages say...