Sandbox/SharedData Food

From Ring of Brodgar
Jump to navigation Jump to search

Sandbox/SharedData Food can be eaten by right-clicking on them and selecting the 'eat' option. Each provides <ENERGY>% to your energy bar, and provides <FEPVALUE|N> <FEP|LINK|1..last-1|COMMA-DELIM> and <FEPVALUE|lAST> <FEP|LINK|lAST> in FEPs.

General text-setup.
-- Needs some support for detection FEP case-count. One, two, more than two. (ie: "and" instead of "Comma" (leading)separation for last fep)
-- ...
General preview-mode issue:
-- SMW-call-only implementation would not show newly added (or changed) data in preview. (as its not saved yet during preview)
-- Would need to provide the related data directly to the template.
-- -- Which makes only sense if done in called main-template. +(would eliminate the need to manually adding it as separate call to food pages)
-- -- But might not make sense for all foods. Like for foods that have innate FEP variations based on used ingredients (spice not included)
-- Not sure if this would be compatible with "comma" vs "and" split. (issue being detecting last FEP, if all FEP's (most blank, some with data) are passed on ...)
-- (Would potentially render SMW-call-only case unneeded ... Put on hold for now)
Potential WIP testing setup:
-- See about preview-only test-case that can be triggered by some "SharedData_Food_preview" infobox (exist or not bool) setting.