2011-08-04 15:22:25 -06:00
|
|
|
if not(FILE) then
|
2011-08-20 15:15:40 -06:00
|
|
|
--sanity test
|
|
|
|
--print("race num:"..engine.peekw(offsets.getEx("CurrentRace")))
|
|
|
|
--print(string.format("%x vs %x",offsets.getEx("CurrentRace"),VersionInfo.getGroup("Creatures"):getAddress("current_race")))
|
2012-03-24 17:31:58 -06:00
|
|
|
print("Race num:"..df.global.ui.race_id)
|
|
|
|
print("Your current race is:"..GetRaceToken(df.global.ui.race_id))
|
2011-08-20 15:15:40 -06:00
|
|
|
print("If this is wrong please type 'q'")
|
2012-03-17 16:50:47 -06:00
|
|
|
if(getline()=='q') then
|
2011-08-20 15:15:40 -06:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
2011-08-04 15:22:25 -06:00
|
|
|
end
|
2011-08-20 15:15:40 -06:00
|
|
|
|
2011-08-04 15:22:25 -06:00
|
|
|
if not(FILE) then
|
|
|
|
names=ParseNames("dfusion/friendship/races.txt")--io.open("plugins/friendship/races.txt"):lines()
|
|
|
|
friendship_in.install(names)
|
|
|
|
friendship_in.patch()
|
2011-08-20 15:15:40 -06:00
|
|
|
end
|