Revision: | 1.1.1.1 (vendor branch) |
Committed: | Mon Feb 6 20:26:11 2006 UTC (18 years, 5 months ago) by root |
Branch: | UPSTREAM, MAIN |
CVS Tags: | pre_first_cfarch_normalize_run, pre_second_normalise_run, post_second_normalise_run, post_normalise_revert, rel-2_82, rel-2_81, rel-2_80, UPSTREAM_2006_03_15, rel-3_0, rel-2_6, rel-2_7, rel-2_4, rel-2_5, rel-2_2, rel-2_0, rel-2_1, rel-2_72, rel-2_73, rel-2_71, rel-2_76, rel-2_77, rel-2_74, rel-2_75, rel-2_54, rel-2_55, rel-2_56, rel-2_79, UPSTREAM_2006_02_01, rel-2_53, rel-2_32, post_first_cfarch_normalize_run, UPSTREAM_2006_02_22, rel-2_90, rel-2_92, rel-2_93, rel-2_78, rel-2_61, pre_normalise_revert, rel-2_43, rel-2_42, rel-2_41, HEAD |
Changes since 1.1: | +0 -0 lines |
Log Message: | Initial Import |
# | User | Rev | Content |
---|---|---|---|
1 | root | 1.1 | This directory includes some scripts I wrote to update various archetypes |
2 | with certain new values. | ||
3 | |||
4 | These scripts were written to get the job done - they are certainly not | ||
5 | in the best style. In many cases, the same script was modified for a new | ||
6 | purpose, so the variable names reflect the individual script purpose. | ||
7 | |||
8 | Most all of them take a list of files to work on. You can typically | ||
9 | do something like script.pl *.arc */*.arc */*/*.arc, etc to update | ||
10 | a large number of files at once. | ||
11 | |||
12 | Mark Wedel | ||
13 | July 2002 | ||
14 | |||
15 | update_armor.pl: Replaces the last_heal variables with gen_sp_armour. | ||
16 | Note that this doesn't look at object type, and just does a straight | ||
17 | replacement, so should only be run against armor .arc files. | ||
18 | |||
19 | update_body.pl: Adds appropriate body_.. to equipment objects. It | ||
20 | looks at the type of equipment it is to determine what body locations | ||
21 | to add. | ||
22 | |||
23 | update_monster.pl: Looks at the various can_use... flags and forms | ||
24 | body information for the object. | ||
25 | |||
26 | update_object.pl: Used to add the name_pl and client_type fields to | ||
27 | the objects. The first parameter to this script is the client | ||
28 | type to set to, the rest of the parameters are the files to operate on. | ||
29 | |||
30 | update_shield.pl: add can_use_shield values to players/monsters. | ||
31 | Basically, it takes the value of can_use_armor and duplicates it for | ||
32 | can_use_shield. Doesn't care about object type. | ||
33 | |||
34 | updatearch: This is a shell script which is a bit different - basically, | ||
35 | you provide a perl expression as its parameter, and it runs this | ||
36 | against all the .arc files in the directory you run it in - example: | ||
37 | updatearch 's/armor/prot_phys/' will make the substitution. | ||
38 |