Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For usage, need copy it back.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Fixes a crash that would occur when an item_db2 inherited item was
missing Script, OnEquipScript or OnUnequipScript while its item_db
counterpart had it.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Follow-up to ff75470f7085c3ca23a9b16be43881b6bc953345
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
See https://github.com/Reviewable/Reviewable/wiki/FAQ#how-do-i-tell-reviewable-that-a-file-is-generated-and-should-not-be-reviewed
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Fix wrong item deletion in guild creation code if emperium item not i…
|
|
inventory.
|
|
Wrong check prevent from using custom skills with id after guild skills.
|
|
Fix EXP modifiers to match aegis modifiers calclution.
|
|
Use item attribute as flags varible. Now only ATTR_BROKEN flag exists.
|
|
|
|
Allow redefine some array sizes by preprocessor from command line
|
|
|
|
|
|
- Now Renewal Level Penalty being calculated in pc_calcexp only
- Now Guild Tax is being paid after experience modifiers and not before
- Now Experience modifiers being calculated in right way as in aegis (Race modifiers -> PK modifiers -> Premium modifiers -> Buff modifiers)
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
HULD improvements
|
|
The script->get_translation_file_name() is more robust (and actually
works) now.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Replaced hardcoded item names with getitemname()
Only the npc/jobs/2-2/alchemist.txt script was modified, as a proof of
concept.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- `mes` strings are split by sentences: each string contains one and
only one sentence. Line-break hints are specified with \r (and for
readability the string is split in multiple lines with parse-time
concatenation, without using the '+' operator)
- When sentences need concatenation (variable names or values), sprintf
is used, so that the generated translatable string is still one and
only one. The `_()` macro is used inside sprintf, to mark the string
as translatable.
- `select()` / `prompt()` entries are in separate entries, separated by
commas, where possible (it makes their translation easier)
- This makes it easier to translate NPCs to languages with different
sentence ordering (and with longer or shorter sentences). In the
generated .pot, sentecnes will no longer span across several strings.
Only the npc/jobs/2-2/alchemist.txt script was modified, as a proof of
concept.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
format string
- Strings passed to sprintf should use the _$() macro instead of _(), to
generate the .pot translation template with a directive to correctly
handle the % sign.
- Strings passed through _() are instead explicitly marked as regular
(non format) strings if they contain '%'.
Signed-off-by: Haru <haru@dotalux.com>
|
|
well)
|
|
- The `\r` character, in a `mes` dialog, is normally represented by the
client as a hard line-break.
- Since a client may have different requirements in line lengths (for
example using a font with different size or metrics), an user might
wish to ignore hard-wraps and let the client automatically soft-wrap
instead.
- If you want to hard-wrap (official default), keep the
SCRIPT_MES_STRIP_LINEBREAK define commented out.
- If you want to let the client soft-wrap automatically (may work better
for custom clients), uncomment it.
- Imprved HULD handling of `\r` (to avoid control characters in the
generated file)
- Please note that this requires cooperation by script writers:
* Each `mes` should contain one and only one sentence, possibly
without using the '+' concatenation (but, rather, sprintf).
* Two separate sentences (where a hard-wrap is required even for
soft-wrapped text) should always go into separate `mes` commands.
* Following the above two recommendations, also produces a better
quality translations .pot file.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|