Files
cultivation-world-simulator/static/locales/en-US/game_configs/weapon.csv
4thfever e1091fdf5a Feat/i18n (#92)
* feat: add vue-i18n

* feat: add vue-i18n

* feat: add vue-i18n

* feat: add language class

* add: en templates and configs

* add: en names

* refactor: name gender id and sect id

* feat(i18n): add gettext infrastructure for dynamic text translation (#81)

* feat(i18n): add gettext infrastructure for dynamic text translation

- Add src/i18n/ module with t() translation function
- Add .po/.mo files for zh_CN and en_US locales
- Update LanguageManager to reload translations on language change
- Add comprehensive tests (14 tests, all passing)
- Add implementation spec at docs/specs/i18n-dynamic-text.md

Phase 1 of i18n dynamic text implementation.

* feat(i18n): expand .po files with comprehensive translation entries

Add translation messages for:
- Battle result messages (fatal/non-fatal outcomes)
- Fortune event messages (item discovery, cultivation gains)
- Misfortune event messages (losses, damage, regression)
- Death reason messages
- Item exchange messages (equip, sell, discard)
- Single choice context and option labels
- Common labels (weapon, auxiliary, technique, elixir)

Both zh_CN and en_US locales updated with matching entries.

* test: add .po file integrity tests

* feat: i18n for actions

* feat: i18n for effects

* feat: i18n for gathering

* feat: i18n for classes

* feat: i18n for classes

* feat: i18n for classes

* feat: i18n for classes

* fix bugs

* fix bugs

* fix bugs

* fix bugs

* fix bugs

* fix bugs

* fix bugs

* fix bugs

* update csv

* update world info

* update prompt

* update prompt

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* update

* update

* update

* update

* update

* update

* update

---------

Co-authored-by: Zihao Xu <xzhseh@gmail.com>
2026-01-24 13:47:23 +08:00

6.1 KiB

1item_idnameweapon_typegradedesceffects
2NameWeapon TypeGrade(Qi Refinement/Foundation Establishment/Core Formation/Nascent Soul)Description/PromptJSON Effects
31001Qi Refinement SwordSWORDQI_REFINEMENTAn iron sword forged by a local blacksmith, barely usable.{extra_battle_strength_points: 1}
41002Qi Refinement SaberSABERQI_REFINEMENTA thick-backed chopper, a favorite of ordinary martial artists.{extra_battle_strength_points: 1}
51003Qi Refinement SpearSPEARQI_REFINEMENTMade of white wax wood, with a red tassel on the spearhead.{extra_battle_strength_points: 1}
61004Qi Refinement StaffSTAFFQI_REFINEMENTA common hardwood staff, as long as the eyebrows.{extra_battle_strength_points: 1}
71005Qi Refinement FanFANQI_REFINEMENTA folding fan commonly used by scholars and literati for elegance.{extra_battle_strength_points: 1}
81006Qi Refinement WhipWHIPQI_REFINEMENTA common leather whip, mostly used for driving carts or punishment.{extra_battle_strength_points: 1}
91007Qi Refinement ZitherZITHERQI_REFINEMENTAn ancient zither made of paulownia wood, with fair sound quality.{extra_battle_strength_points: 1}
101008Qi Refinement FluteFLUTEQI_REFINEMENTCarved from purple bamboo, with a crisp sound.{extra_battle_strength_points: 1}
111009Qi Refinement Hidden WeaponHIDDEN_WEAPONQI_REFINEMENTCommonly seen iron hidden weapons.{extra_battle_strength_points: 1}
121021Azure Frost SwordSWORDFOUNDATION_ESTABLISHMENTThe sword qi is bone-chillingly cold.{extra_battle_strength_points: 2}
131022Moon in the WellSABERFOUNDATION_ESTABLISHMENTThe saber light is like the moon reflected in a well, unpredictable.{extra_battle_strength_points: 2}
141023Fire Tipped SpearSPEARFOUNDATION_ESTABLISHMENTFaint fire light on the spearhead, able to trigger common fire.{extra_battle_strength_points: 2, extra_max_hp: 50}
151024Dragon Capturing RodSTAFFFOUNDATION_ESTABLISHMENTForged from refined iron, weighing a thousand jin, usable by those with great strength.{extra_battle_strength_points: 2, extra_max_hp: 50}
161025Peach Blossom FanFANFOUNDATION_ESTABLISHMENTFalling peach blossom shadows like flying divine swords; peach blossoms painted on the fan, hiding killing intent.{extra_battle_strength_points: 2, extra_observation_radius: 1}
171026God Striking WhipWHIPFOUNDATION_ESTABLISHMENTAn imitation; although lacking the power to strike gods, it can wound the soul.{extra_battle_strength_points: 2}
181027Heavenly Demonic ZitherZITHERFOUNDATION_ESTABLISHMENTThe zither sound is demonic, disturbing the mind.{extra_battle_strength_points: 2, cultivate_duration_reduction: 0.1}
191028Ghost Flute ChenqingFLUTEFOUNDATION_ESTABLISHMENTSaid to be able to control corpse puppets with this flute.{extra_battle_strength_points: 2, cultivate_duration_reduction: 0.1}
201029Shadowless NeedleHIDDEN_WEAPONFOUNDATION_ESTABLISHMENTFine as a cow's hair, coming and going without a trace, impossible to guard against.{extra_battle_strength_points: 2}
211030Ten Thousand Beasts FluteFLUTEFOUNDATION_ESTABLISHMENTSpecially made by the Baishou Sect; the flute sound can soothe or provoke beasts.[{extra_battle_strength_points: 1}, {when: 'avatar.spirit_animal is not None', extra_battle_strength_points: 2}]
221031Blood Drinker Mad SaberSABERFOUNDATION_ESTABLISHMENTThe saber body is red, appearing to crave blood.{extra_battle_strength_points: 2}
231032Black Iron Heavy SwordSWORDFOUNDATION_ESTABLISHMENTHeavy sword without edge, great skill requires no craftsmanship, Dugu Qiubai's favorite.{extra_battle_strength_points: 2, extra_max_hp: 100}
241033Ziwei Soft SwordSWORDFOUNDATION_ESTABLISHMENTSoft as a belt, moving like a spiritual snake.{extra_battle_strength_points: 2, extra_escape_success_rate: 0.1}
251034Water and Fire Dragon Capturing StaffSTAFFFOUNDATION_ESTABLISHMENTA standard weapon of the Zhenhun Sect, combining water and fire to trap enemies and lock souls.{extra_battle_strength_points: 2}
261051Green Bamboo Bee Cloud SwordSWORDCORE_FORMATIONA set of flying swords containing evil-warding divine thunder, restraining all evil in the world.{extra_battle_strength_points: 3}
271052As-You-Will Iron RodSTAFFCORE_FORMATIONThe weapon of the Six-Eared Macaque, changing as desired, as large or small as one wishes.{extra_battle_strength_points: 3, extra_observation_radius: 1}
281053Five Fires Seven Poultry FanFANCORE_FORMATIONThe fan surface features five fires including air fire, stone fire, and wood fire, turning things to ashes in one wave.{extra_battle_strength_points: 3, extra_observation_radius: 2}
291054God Killer SpearSPEARNASCENT_SOULSurging killing intent, once stained with the blood of demon gods; the spear never returns once thrown.{extra_battle_strength_points: '3 + avatar.weapon_proficiency * 0.02'}
301055Red Point SpearSPEARNASCENT_SOULRed point spear, immortal shield, slaying all immortal kings and destroying nine heavens.[{extra_battle_strength_points: 3}, {when: 'avatar.cultivation_progress.level >= 30', extra_battle_strength_points: 2, realm_suppression_bonus: 0.1}]
311056Immortal Slaying Flying DaggerHIDDEN_WEAPONCORE_FORMATIONA trace of light hidden in a red gourd, with eyebrows and eyes. Please turn around, treasure, for gods and ghosts cannot escape.{extra_battle_strength_points: 3, extra_observation_radius: 1, extra_escape_success_rate: 0.15}
321057Immortal Slaying SwordSWORDNASCENT_SOULNeither copper, iron, nor steel, once hidden under Mount Sumeru. Sharp qi pierces directly into the nine heavens.{extra_battle_strength_points: 4, realm_suppression_bonus: 0.1}
331058Gan Jiang and Mo YeSWORDCORE_FORMATIONSwords of true love, one female and one male, killing when separated, amorous when together.{extra_battle_strength_points: 3, extra_max_hp: 150}
341059Plantain FanFANCORE_FORMATIONEssence leaf of Taiyin; one wave stops fire, two waves create wind, three waves bring rain.{extra_battle_strength_points: 3, extra_observation_radius: 2, extra_move_step: 1}
351060Purple Gold Demon Subduing PestleSTAFFCORE_FORMATIONWei Hu's weapon; although light and agile, it hits with the weight of Mount Tai.{extra_battle_strength_points: 3, damage_reduction: 0.1}