mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Autowiki for fishing. (#86035)
## About The Pull Request I've come to realize manually updating all fishing stuff on the very much outdated wiki would be a colossal pain in the rear, so I've decided to automate a few bits to generate autowiki lists containing information about fish, fish traits, bait, hooks, reels, fishng rods, fish sources and fish experiments. Now tested. ## Why It's Good For The Game Making a huge autowiki for a feature that's being constantly updated (by me) but still has a particularly lame and outdated page on the wiki. ## Changelog N/A
This commit is contained in:
@@ -317,11 +317,7 @@
|
||||
var/points_rewarded
|
||||
if(completed_experiment.points_reward)
|
||||
add_point_list(completed_experiment.points_reward)
|
||||
points_rewarded = ",[refund > 0 ? " and" : ""] rewarding "
|
||||
var/list/english_list_keys = list()
|
||||
for(var/points_type in completed_experiment.points_reward)
|
||||
english_list_keys += "[completed_experiment.points_reward[points_type]] [points_type]"
|
||||
points_rewarded += "[english_list(english_list_keys)] points"
|
||||
points_rewarded = ",[refund > 0 ? " and" : ""] rewarding [completed_experiment.get_points_reward_text()]"
|
||||
result_text += points_rewarded
|
||||
result_text += "!"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user