Die Datei ist wahlweise austauschbar. Weapons hatte ich nur als letztes versucht zu laden. Der Array enthält neben dem was ich vorher zitiert habe noch eine ganze Reihe von Instanzvariablen, die der eigentliche Inhalt der *.rvdata sind.
Das ist der gesamte Inhalt.
#<RPG::Weapon:0x3a37d58>@agi0@critical_bonusfalse@descriptionA simple wooden club.@nameClub@dual_attackfalse@spi0@icon_index14@price40@fast_attackfalse@def0@hit95@animation_id19@two_handedfalse@atk0@note@state_set@element_set4@id1#<RPG::Weapon:0x3a37ae8>@agi0@critical_bonusfalse@descriptionA typical mass-produced longsword.@nameLong Sword@dual_attackfalse@spi0@icon_index2@price70@fast_attackfalse@def0@hit95@animation_id7@two_handedfalse@atk5@note@state_set@element_set2@id2#<RPG::Weapon:0x3a37a28>@agi0@critical_bonusfalse@descriptionA typical mass-produced spear.@nameLong Spear@dual_attackfalse@spi0@icon_index4@price110@fast_attackfalse@def0@hit95@animation_id13@two_handedtrue@atk6@note@state_set@element_set3@id3#<RPG::Weapon:0x3a37968>@agi0@critical_bonusfalse@descriptionA typical mass-produced bow.@nameLong Bow@dual_attackfalse@spi0@icon_index16@price220@fast_attackfalse@def0@hit97@animation_id13@two_handedtrue@atk8@note@state_set@element_set5@id4#<RPG::Weapon:0x3a378a8>@agi0@critical_bonusfalse@descriptionA whip made from strips of tanned animal skin.@nameLeather Whip@dual_attackfalse@spi0@icon_index12@price250@fast_attackfalse@def0@hit95@animation_id19@two_handedfalse@atk9@note@state_set@element_set6@id5#<RPG::Weapon:0x3a377e8>@agi0@critical_bonusfalse@descriptionAn ordinary broadsword.@nameBroad Sword@dual_attackfalse@spi0@icon_index2@price290@fast_attackfalse@def0@hit95@animation_id7@two_handedfalse@atk10@note@state_set@element_set2@id6#<RPG::Weapon:0x3a37728>@agi0@critical_bonusfalse@descriptionFighting claws made from steel.@nameIron Claw@dual_attackfalse@spi0@icon_index11@price350@fast_attackfalse@def0@hit95@animation_id1@two_handedtrue@atk10@note@state_set@element_set1@id7#<RPG::Weapon:0x3a37668>@agi0@critical_bonusfalse@descriptionA simple striking weapon made of metal.@nameMace@dual_attackfalse@spi0@icon_index18@price460@fast_attackfalse@def0@hit95@animation_id19@two_handedfalse@atk12@note@state_set@element_set4@id8#<RPG::Weapon:0x3a375a8>@agi0@critical_bonusfalse@descriptionA three-pronged weapon created from a farming tool.@nameTrident@dual_attackfalse@spi0@icon_index5@price670@fast_attackfalse@def0@hit95@animation_id13@two_handedtrue@atk15@note@state_set@element_set3@id9#<RPG::Weapon:0x3a374e8>@agi0@critical_bonusfalse@descriptionThis two-handed sword is rather easy to use.@nameBastard Sword@dual_attackfalse@spi0@icon_index2@price920@fast_attackfalse@def0@hit95@animation_id7@two_handedtrue@atk18@note@state_set@element_set2@id10#<RPG::Weapon:0x3a37428>@agi0@critical_bonusfalse@descriptionA bow made of reinforced animal sinews.@nameWrapped Bow@dual_attackfalse@spi0@icon_index16@price1200@fast_attackfalse@def0@hit97@animation_id13@two_handedtrue@atk20@note@state_set@element_set5@id11#<RPG::Weapon:0x3a37368>@agi0@critical_bonusfalse@descriptionAn ancestor of this battle axe was used for chopping wood.@nameBattle Axe@dual_attackfalse@spi0@icon_index6@price1700@fast_attackfalse@def0@hit95@animation_id7@two_handedfalse@atk22@note@state_set@element_set2@id12#<RPG::Weapon:0x3a372a8>@agi0@critical_bonusfalse@descriptionA two-handed sword made with an emphasis on cutting down enemies.@nameClaymore@dual_attackfalse@spi0@icon_index2@price2100@fast_attackfalse@def0@hit95@animation_id7@two_handedtrue@atk26@note@state_set@element_set2@id13#<RPG::Weapon:0x3a371e8>@agi0@critical_bonusfalse@descriptionThis spear can be used for both piercing and hitting enemies.@nameHalberd@dual_attackfalse@spi0@icon_index4@price2800@fast_attackfalse@def0@hit95@animation_id13@two_handedtrue@atk28@note@state_set@element_set23@id14#<RPG::Weapon:0x3a37128>@agi0@critical_bonusfalse@descriptionA striking weapon consisting of an iron ball attached to a rod with a length of chain.@nameFlail@dual_attackfalse@spi0@icon_index15@price3800@fast_attackfalse@def0@hit95@animation_id19@two_handedfalse@atk28@note@state_set@element_set4@id15#<RPG::Weapon:0x3a37068>@agi0@critical_bonusfalse@descriptionA two-handed sword with a blade that waves like a flame.@nameFlamberge@dual_attackfalse@spi0@icon_index2@price4700@fast_attackfalse@def0@hit95@animation_id7@two_handedtrue@atk34@note@state_set@element_set2@id16#<RPG::Weapon:0x3a36fa8>@agi0@critical_bonusfalse@descriptionA weapon that can shoot arrows more powerful than other bows.@nameCrossbow@dual_attackfalse@spi0@icon_index24@price6000@fast_attackfalse@def0@hit97@animation_id13@two_handedtrue@atk42@note@state_set@element_set5@id17#<RPG::Weapon:0x3a36ee8>@agi0@critical_bonusfalse@descriptionA mace with a spiked ball on its end.@nameMorning star@dual_attackfalse@spi0@icon_index18@price7800@fast_attackfalse@def0@hit95@animation_id19@two_handedfalse@atk44@note@state_set@element_set4@id18#<RPG::Weapon:0x3a36e28>@agi0@critical_bonusfalse@descriptionClaws made of the magical metal known as mithril silver.@nameMithril Claw@dual_attackfalse@spi0@icon_index11@price9000@fast_attackfalse@def0@hit95@animation_id1@two_handedtrue@atk50@note@state_set@element_set1@id19#<RPG::Weapon:0x3a36d68>@agi0@critical_bonusfalse@descriptionA spear made of the magical metal known as mithril silver.@nameMithril Spear@dual_attackfalse@spi0@icon_index4@price9900@fast_attackfalse@def0@hit95@animation_id13@two_handedtrue@atk56@note@state_set@element_set3@id20#<RPG::Weapon:0x3a36ca8>@agi0@critical_bonusfalse@descriptionA one-handed sword made of the magical metal known as mithril silver.@nameMithril Blade@dual_attackfalse@spi0@icon_index2@price12000@fast_attackfalse@def0@hit95@animation_id7@two_handedfalse@atk60@note@state_set@element_set2@id21#<RPG::Weapon:0x3a36be8>@agi0@critical_bonusfalse@descriptionA magic staff that emits a golden glow.@nameGolden Staff@dual_attackfalse@spi0@icon_index20@price16000@fast_attackfalse@def0@hit95@animation_id19@two_handedfalse@atk58@note@state_set@element_set@id22#<RPG::Weapon:0x3a36b28>@agi0@critical_bonusfalse@descriptionA powerful battle axe with a long handle.@nameGreat Axe@dual_attackfalse@spi0@icon_index6@price15000@fast_attackfalse@def0@hit95@animation_id7@two_handedfalse@atk68@note@state_set@element_set2@id23#<RPG::Weapon:0x3a36a68>@agi0@critical_bonusfalse@descriptionA more advanced and easier-to-use crossbow.@nameGreat Crossbow@dual_attackfalse@spi0@icon_index24@price20000@fast_attackfalse@def0@hit97@animation_id13@two_handedtrue@atk76@note@state_set@element_set5@id24#<RPG::Weapon:0x3a369a8>@agi0@critical_bonusfalse@descriptionThe magic encased in this staff generates powerful shockwaves.@nameWizard Rod@dual_attackfalse@spi0@icon_index21@price25000@fast_attackfalse@def0@hit95@animation_id19@two_handedfalse@atk77@note@state_set@element_set@id25#<RPG::Weapon:0x3a368e8>@agi0@critical_bonusfalse@descriptionA whip made from dragon whiskers.@nameDragon Whip@dual_attackfalse@spi0@icon_index12@price22000@fast_attackfalse@def0@hit95@animation_id19@two_handedfalse@atk85@note@state_set@element_set6@id26#<RPG::Weapon:0x3a36828>@agi0@critical_bonusfalse@descriptionA spear made from dragon scales.@nameDragon Spear@dual_attackfalse@spi0@icon_index4@price24000@fast_attackfalse@def0@hit95@animation_id13@two_handedtrue@atk90@note@state_set@element_set3@id27#<RPG::Weapon:0x3a36768>@agi0@critical_bonusfalse@descriptionA martial artist's weapon made from dragon claws.@nameDragon Claw@dual_attackfalse@spi0@icon_index11@price28000@fast_attackfalse@def0@hit95@animation_id1@two_handedtrue@atk92@note@state_set@element_set1@id28#<RPG::Weapon:0x3a366a8>@agi0@critical_bonusfalse@descriptionA one-handed sword made from dragon scales.@nameDragon Sword@dual_attackfalse@spi0@icon_index2@price30000@fast_attackfalse@def0@hit95@animation_id7@two_handedfalse@atk100@note@state_set@element_set2@id29#<RPG::Weapon:0x3a365e8>@agi0@critical_bonusfalse@descriptionA legendary sword that only a true hero can wield.@nameKing's Sword@dual_attackfalse@spi0@icon_index26@price65000@fast_attackfalse@def0@hit95@animation_id7@two_handedfalse@atk120@note@state_set@element_set2@id30#<RPG::Weapon:0x3a36528>@critical_bonusfalse@agi0@description@dual_attackfalse@name@spi0@icon_index0@fast_attackfalse@price0@def0@hit95@animation_id0@two_handedfalse@atk0@note@state_set@element_set@id31#<RPG::Weapon:0x3a36468>@critical_bonusfalse@agi0@descriptionStandard 10mm semi-auto pistol@dual_attackfalse@nameFEN 603@spi0@icon_index27@fast_attackfalse@price650@def0@hit95@animation_id5@two_handedfalse@atk0@note@state_set@element_set@id32#<RPG::Weapon:0x3a363a8>@critical_bonusfalse@agi0@description@dual_attackfalse@name@spi0@icon_index0@fast_attackfalse@price0@def0@hit95@animation_id0@two_handedfalse@atk0@note@state_set@element_set@id33#<RPG::Weapon:0x3a362e8>@critical_bonusfalse@agi0@description@dual_attackfalse@name@spi0@icon_index0@fast_attackfalse@price0@def0@hit95@animation_id0@two_handedfalse@atk0@note@state_set@element_set@id34#<RPG::Weapon:0x3a36228>@critical_bonusfalse@agi0@description@dual_attackfalse@name@spi0@icon_index0@fast_attackfalse@price0@def0@hit95@animation_id0@two_handedfalse@atk0@note@state_set@element_set@id35
Manchmal druckt mir der print Befehl dies aus und manchmal das, was ich vorher schrieb. Ich möchte verstehen, was den Unterschied macht, daß einmal dies und einmal das andere ausgegben wird.
Gruß,
WangXu