maybe add more to the plot_objects e.g;
Shipwreck;//name------------------------------- 0;//identifier 0;//map type to place to -1=any map 0=> type from areas.dat 71;//object definition number, -1=none 1;//number of objects to be placed
1;//location type, 0=random, 1=Map Editor Map editor would insert its own values here, which the game would ignore if they are 0 or -1 or whatever the default is
0;//location parameter0, which object type 100;//location parameter1, eg. distance in pixels 0;//vary location parameter1 0;//trigger event by 0=player click, 1=player near, 2=near or click 1;//vanishes after event, 0=no, but cannot be reused, 1=vanishes, 2=no, and can be reused -1;//event triggered when player uses, -1=nothing, 0=place item on map (parameter0=which item, parameter1=how many), 1=give health by parameter0, 2=give item to player (parameter0=which item, parameter1=how many), 3=feed player if he's hungry, 4=dispense item parameter0 in time parameter1 in area parameter2 with max amount of parameter3, 5=dispense plot_object parameter0 in time parameter1 in area parameter2 with max amount of parameter3, 6=give energy by parameter0, 7=teleport to area parameter0 plot_object parameter1, 8=rest and heal with parameter0 with base temperature parameter1 0;//event parameter0 0;//event parameter1 0;//event parameter2 0;//event parameter3 none;//event text 1;//number of fires around it 2;//show on radar 0=does not show, 1=show on scanner, 2=show even without scanner 4;//clear area
The map editors values would be where is placed on the map, coords or something.
And when the map editor edits the object, (assuming you can edit it's functions & effects) it would have the values it makes, greyed out, or just not shown.
|