equal
deleted
inserted
replaced
963 |
963 |
964 ==== <tt>!SetAmmoDescriptionAppendix(ammoType, descAppend)</tt> (0.9.23) ==== |
964 ==== <tt>!SetAmmoDescriptionAppendix(ammoType, descAppend)</tt> (0.9.23) ==== |
965 Will set a string `descAppend` to be appended below the “core” description (ammo tooltip) of the specified `ammoType`, without changing the ordinary description. |
965 Will set a string `descAppend` to be appended below the “core” description (ammo tooltip) of the specified `ammoType`, without changing the ordinary description. |
966 Note that calling this function always sets the complete appended string, you can't use this function to append multiple texts in row. |
966 Note that calling this function always sets the complete appended string, you can't use this function to append multiple texts in row. |
967 |
967 |
968 This function is recommended if you heave tweaked an existing ammo type only a little and want to keep the original description intact as much as possible. |
968 This function is recommended if you have tweaked an existing ammo type only a little and want to keep the original description intact as much as possible. |
969 |
969 |
970 Example: |
970 Example: |
971 <code language="lua"> |
971 <code language="lua"> |
972 -- Appends a text to the ammo tooltip of the bazooka but leaves name and main description intact |
972 -- Appends a text to the ammo tooltip of the bazooka but leaves name and main description intact |
973 SetAmmoTexts(amBazooka, "This weapon deals double the damage than usually.")</code> |
973 SetAmmoTexts(amBazooka, "This weapon deals double the damage than usually.")</code> |