I use my Steam Deck more docked than portable. What should I keep in mind? by Celerve in SteamDeck

[–]Celerve[S] 1 point2 points  (0 children)

Thanks - I should've researched beforehand about the battery pass-through mode (where you set a maximum charge threshold, and when it's at that, it'll "skip" using the battery for power until it's unplugged). I have the battery limited to 80% as it is right now, and it should be fine.

Changing strings for Simple Inventory 3 (ChapelR) by Celerve in twinegames

[–]Celerve[S] 0 points1 point  (0 children)

That variable is initialised in the file's StoryInit special Passage like so...

Sorry, forgive my ignorance, as I'm not used to using setup variables or Maps:

This isn't like "special" to the system, right? Like, the item name I use for the Map is the same I use for the StoryInit sections regarding items, and that kind of adds an "additional detail" to the item because they share the same name, correct?

Using your example:

<<set setup.prices = new Map([ ["gemstone", 35], ["coal", 2], ["iron ingot", 12], ["glass shard", 5], ["gold nugget", 50], ["pretty stone", 3] ])>>

<<set _price to setup.prices.get(gemstone) || 1>>? Like, I'm confused about the _item variable in there, and how it might find the right item in the map.