Topic: encyclopedia data doesn't match actual behaviour / inconsitent lua file
Arty Topic Opener |
Posted at: 2018-08-12, 18:29
I noticed some info in an encyclopedia entry that doesn't match actual building behaviour. It matches an inconsistency in the lua file though, so am I correct to assume that encyclopedia entries for buildings etc. are automatically generated (at least partially) from the corresponding lua files (or maybe from the data generated by the lua files)? The mentioned inconsistency is in the recent program version "master-3549-Release_x64" for the Frisian buidling "Training Camp". In short, the encyclopedia entry says that both health and defense training require Beer AND Bread while they actually require Beer OR Bread. More detailed: The encyclopedia entry lists as food requirements for both health training and defense training Smoked Fish or Smoked Meat | Beer | Bread (http://prntscr.com/khp55x), which is also what the lua file for the Training Camp lists in the parameter table of
This is different from what the lua file for the Training Camp lists in its programs table:
which - in both cases - is Smoked Fish or Smoked Meat | Beer or Bread. Whether Beer AND Bread or Bear OR Bread is what it's supposed to be, one of those should be adjusted to match the other. Top Quote |
GunChleoc |
Posted at: 2018-08-13, 10:13
Good catch! I have created a branch: https://code.launchpad.net/~widelands-dev/widelands/fix-frisian-trainingsites-food-help Busy indexing nil values Top Quote |
GunChleoc |
Posted at: 2018-08-16, 08:54
Fix has been merged with r8787. Thanks for reporting! Busy indexing nil values Top Quote |
Nordfriese |
Posted at: 2019-03-06, 20:06
The online encyclopedia for the frisian well has a wrong purpose text: https://wl.widelands.org/encyclopedia/frisians/buildings/frisians_well/ Top Quote |
WorldSavior |
Posted at: 2019-03-06, 21:42
("[The well] cultivates reed that serves three different purposes for the Frisians"). Wanted to save the world, then I got widetracked Top Quote |
kaputtnik |
Posted at: 2019-03-06, 22:15
Fight simulator for Widelands: |