Skip to content

Commit

Permalink
Unify keybindings and menus (CleverRaven#57125)
Browse files Browse the repository at this point in the history
* Unify keybindings

* Update World selection header

* Try to fix Help header

* Mouse View → Mouse view

Co-authored-by: David Seguin <[email protected]>
  • Loading branch information
Faalagorn and dseguin authored Apr 29, 2022
1 parent 7842399 commit 405a7d0
Show file tree
Hide file tree
Showing 22 changed files with 249 additions and 249 deletions.
4 changes: 2 additions & 2 deletions data/core/tips.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "You can make your own Safe Mode rules in the pause menu." ]
"text": [ "You can make your own safe mode rules in the pause menu." ]
},
{
"type": "snippet",
Expand Down Expand Up @@ -427,7 +427,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "Long trip ahead? Autotravel and autodrive to your desired destination." ]
"text": [ "Long trip ahead? Auto travel and auto drive to your desired destination." ]
},
{
"type": "snippet",
Expand Down
10 changes: 5 additions & 5 deletions data/help/texts.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"Each step will take 100 movement points (or more, depending on the terrain); you will then replenish a variable amount of movement points, depending on many factors (press <press_player_data> to see the exact amount).",
"To attempt to hit a monster with your weapon, simply move into it.",
"You may find doors, ('+'); these may be opened with <press_open> or closed with <press_close>. Some doors are locked. Locked doors, windows, and some other obstacles can be destroyed by smashing them (<press_smash>, then choose a direction). Smashing down obstacles is much easier with a good weapon or a strong character.",
"There may be times when you want to move more quickly by holding down a movement key. However, fast movement in this fashion may lead to the player getting into a dangerous situation or even killed before they have a chance to react. Pressing <press_safemode> will toggle \"Safe Mode.\" While this is on, any movement will be ignored if new monsters enter the player's view."
"There may be times when you want to move more quickly by holding down a movement key. However, fast movement in this fashion may lead to the player getting into a dangerous situation or even killed before they have a chance to react. Pressing <press_safemode> will toggle \"safe mode.\" While this is on, any movement will be ignored if new monsters enter the player's view."
]
},
{
"type": "help",
"order": 2,
"name": "<c|C>: Viewing",
"messages": [
"The player can often see more than can be displayed on the screen at a time. Pressing <press_look> enters \"Look Around\" mode, which allows you to scroll around using the movement keys and view items on the map as well as monsters and their stance toward the character. Pressing <press_listitems> provides a list of nearby visible items, though items shut away in crates, cupboards, refrigerators and the like won't be displayed until you are close enough. Pressing Shift+vikeys (h,j,k,l,y,u,b,n) will scroll the view persistently, allowing you to keep an eye on things as you move around.",
"The player can often see more than can be displayed on the screen at a time. Pressing <press_look> enters \"Look around\" mode, which allows you to scroll around using the movement keys and view items on the map as well as monsters and their stance toward the character. Pressing <press_listitems> provides a list of nearby visible items, though items shut away in crates, cupboards, refrigerators and the like won't be displayed until you are close enough. Pressing Shift+vikeys (h,j,k,l,y,u,b,n) will scroll the view persistently, allowing you to keep an eye on things as you move around.",
"Places outside of your view but seen previously and still memorized can be visualized, but they will be covered by the \"fog of war.\""
]
},
Expand Down Expand Up @@ -156,7 +156,7 @@
"name": "<m|M>: Items overview",
"messages": [
"There is a wide variety of items available for your use. You may find them lying on the ground; if so, simply press <press_pickup> to pick up items on the same tile. Some items are found inside a container, which may be drawn as a { with a blue background. Pressing <press_examine>, then a direction key, will allow you to examine these containers and loot their contents.",
"Pressing <press_compare> opens a comparison menu, where you can see two items side-by-side with their attributes color-coded to indicate which is superior. You can also access the item comparison menu by pressing C after <press_listitems> to open the \"View Nearby Items\" menu and selecting an item.",
"Pressing <press_compare> opens a comparison menu, where you can see two items side-by-side with their attributes color-coded to indicate which is superior. You can also access the item comparison menu by pressing C after <press_listitems> to open the \"List all items around the player\" menu and selecting an item.",
"Almost any item may be used as a melee weapon, though some are better than others. You can check the melee attributes of an item you're carrying by pressing <press_inventory> to enter your inventory, then pressing the letter of the item. There are 5 melee values: to-hit bonus (or penalty), moves per attack, and bash, cut, and pierce damage. The to-hit bonus adjusts the chance of an attack connecting with a monster and the chance of a successful attack becoming a critical hit. Moves per attack represents how many moves it takes to attack with the weapon, with 100 moves equaling one second. Bash damage can stun a monster, preventing it from counter-attacking, but is governed by your strength. Cut damage is usually greater than bash damage, but many monsters have natural armor against it. Pierce damage usually penetrates armor better than cut damage, but does less damage overall, especially if you do not have a lot of skill in piercing weapons. It, too, may be reduced by a monster's natural armor. The typical damage per second values are for your survivor and account for moves per attack, encumbrance, missed strikes, weapon skill, critical hits, and target armor. The 'Best' value is against an unarmored target with no Dodging skill. The 'Vs. Agile' value is against an unarmored target with a high Dodging skill. The 'Vs. Armored' value is against a target with more than 15 Bash and 20 Cut resistance but no Dodging skill. These are typical values to let you assess the effectiveness of weapons; the amount of damage you actually inflict will vary depending on the situation.",
"To wield an item as a weapon, press <press_wield>, then the appropriate letter. Wielding the item you are currently wielding will unwield it, leaving your hands empty. A wielded weapon will not contribute to your volume carried, so holding a large item in your hands may be a good option for travel. When unwielding your weapon, you will be given a choice of what to do with it.",
"To wear a piece of clothing, press <press_wear>, then the appropriate letter. Armor reduces damage, and can help you resist things like smoke. To take off an item, press <press_take_off>, then the appropriate letter. Clothing and armor are worn in distinct layers, and provide different coverage, protection and warmth. Each piece has its own encumbrance, and wearing too much on any given layer can significantly hamper your movement and other abilities, especially during combat. You can view and sort worn items by pressing <press_sort_armor>.",
Expand All @@ -181,7 +181,7 @@
"Magazine descriptions also list compatible ammo.",
"Note that while several ammo types exist for a given caliber and magazine type, you can't mix and match these types into a single magazine. You can't, for example, load 9x19mm JHP and 9x19mm FMJ ammo into the same magazine, since a magazine always requires identical rounds to be loaded in it.",
"Magazines can be stored inside several worn accessories for quicker access, such as chest rigs and ammo pouches. All compatible storage items that can hold a given magazine are listed in its description. To store a magazine in a clothing item, activate (<press_apply>) the desired clothing item, at which point you'll get to choose which magazine to store.",
"To fire, press <press_fire>, move the cursor to the desired tile, press '.' to improve your aim, and then 'f' to fire. Additionally, you may want to fire at predefined aim levels using 'a', 'c' or 'p'. Some guns have alternate firing modes, such as burst fire; to cycle modes, press <press_select_fire_mode>. Firing continuously, especially in bursts, will severely reduce accuracy.",
"To fire, press <press_fire>, move the cursor to the desired tile, press '.' to improve your aim, and then 'f' to fire. Additionally, you may want to fire at predefined aim levels using 'a', 'c' or 'p'. Some guns have alternate firing modes, such as burst-fire; to cycle modes, press <press_select_fire_mode>. Firing continuously, especially in bursts, will severely reduce accuracy.",
"The <press_fire> key is not reserved exclusively for guns. It also works for other ranged weapons like spears or launchers, but the aiming options may vary.",
"Fleeing will often be a solid tactic, especially when overwhelmed by a swarm of zombies. Try to avoid getting cornered inside a building. Ducking down into the subways or sewers is often an excellent escape tactic."
]
Expand Down Expand Up @@ -323,7 +323,7 @@
"order": 21,
"name": "<4>: FAQ (contains spoilers!)",
"messages": [
"Q: What is Safe Mode, and why does it prevent me from moving?\nA: Safe Mode is a way to guarantee that you won't die by holding a movement key down. When a monster comes into view, your movement will be ignored until Safe Mode is turned off with the <press_safemode> key. This ensures that the sudden appearance of a monster won't catch you off guard.",
"Q: What is safe mode, and why does it prevent me from moving?\nA: Safe mode is a way to guarantee that you won't die by holding a movement key down. When a monster comes into view, your movement will be ignored until safe mode is turned off with the <press_safemode> key. This ensures that the sudden appearance of a monster won't catch you off guard.",
"Q: It seems like everything I eat makes me sick! What's wrong?\nA: Lots of the food found in towns is perishable and will only last a few days after the start of a new game. The electricity went out several days ago, so fruit, milk, and similar foods are the first to go bad. After the first couple of days, you should switch to canned food, jerky, and hunting. Also, you should make sure to cook any food and purify any water you come across, as it may contain parasites or otherwise be unsafe.",
"Q: How can I remove boards from boarded-up windows and doors?\nA: Use a hammer and choose the direction of the boarded-up window or door to remove the boards.",
"Q: The game just told me to quit, and other weird stuff is happening.\nA: You have the \"Kaluptic Psychosis\" trait, which might make the game seem buggy.",
Expand Down
2 changes: 1 addition & 1 deletion data/json/snippets/tutorial.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
{
"id": "LESSON_LOOK",
"text": "You can also use the mouse to see things around you. The <color_light_cyan>Mouse View</color> window will appear on the sidebar, and you'll be able to get information on the terrain, monsters, and items in the world around you. Alternatively, you can press <keybind:look> to open the <color_light_cyan>Look Around</color> window."
"text": "You can also use the mouse to see things around you. The <color_light_cyan>Mouse view</color> window will appear on the sidebar, and you'll be able to get information on the terrain, monsters, and items in the world around you. Alternatively, you can press <keybind:look> to open the <color_light_cyan>Look Around</color> window."
},
{
"id": "LESSON_OPEN",
Expand Down
Loading

0 comments on commit 405a7d0

Please sign in to comment.