Flyers (Programming)
Revision as of 20:35, 2 July 2010 by imported>NecanThrope
Hellmoo $flyers are very complicated objects. The following is a breakdown of their properties:
| - | mosquito ultralight (#75771) | prion gyrocopter (#388493) | cessna tiltrotor (#111470) | patton supa-lifta (#408794) | dragoon microzep (#33562) | cessna skywagon (#382207) | description |
|---|---|---|---|---|---|---|---|
| alt_per_ascend | 1000 | 1000 | 1000 | 1000 | 1000 | 1000 | how many meters the flyer rises per ascend command |
| alt_per_descend | 750 | 750 | 750 | 750 | 750 | 750 | how many meters the flyer falls per descend command |
| altitude | 0 | 0 | 0 | 0 | 0 | 0 | flyer's current altitude (if in the sky) |
| altitude_max | 5000 | 5000 | 5000 | 5000 | 5000 | 5000 | the highest altitude the flyer can ascend to |
| armor | {{#282, 25, 50}, {#188219, 25, 50}, {#69282, 25, 50}, {#67709, 25, 50}, {#281, 25, 50}, {#315075, 25, 50}, {#37210, 25, 50}, {#99011, 25, 50}, {#283670, 25, 50}, {#938, 25, 50}, {#1051, 25, 50}, {#1052, 25, 50}, {#69802, 25, 50}, {#94052, 25, 50}, {#127580, 25, 50}, {#277, 25, 50}, {#278, 25, 50}, {#279, 25, 50}, {#268, 25, 50}, {#264427, 25, 50}, {#280, 25, 50}} | {{#282, 25, 50}, {#188219, 25, 50}, {#69282, 25, 50}, {#67709, 25, 50}, {#281, 25, 50}, {#315075, 25, 50}, {#37210, 25, 50}, {#99011, 25, 50}, {#283670, 25, 50}, {#938, 25, 50}, {#1051, 25, 50}, {#1052, 25, 50}, {#69802, 25, 50}, {#94052, 25, 50}, {#127580, 25, 50}, {#277, 25, 50}, {#278, 25, 50}, {#279, 25, 50}, {#268, 25, 50}, {#264427, 25, 50}, {#280, 25, 50}} | {{#282, 25, 50}, {#188219, 25, 50}, {#69282, 25, 50}, {#67709, 25, 50}, {#281, 25, 50}, {#315075, 25, 50}, {#37210, 25, 50}, {#99011, 25, 50}, {#283670, 25, 50}, {#938, 25, 50}, {#1051, 25, 50}, {#1052, 25, 50}, {#69802, 25, 50}, {#94052, 25, 50}, {#127580, 25, 50}, {#277, 25, 50}, {#278, 25, 50}, {#279, 25, 50}, {#268, 25, 50}, {#264427, 25, 50}, {#280, 25, 50}} | {{#282, 25, 50}, {#188219, 25, 50}, {#69282, 25, 50}, {#67709, 25, 50}, {#281, 25, 50}, {#315075, 25, 50}, {#37210, 25, 50}, {#99011, 25, 50}, {#283670, 25, 50}, {#938, 25, 50}, {#1051, 25, 50}, {#1052, 25, 50}, {#69802, 25, 50}, {#94052, 25, 50}, {#127580, 25, 50}, {#277, 25, 50}, {#278, 25, 50}, {#279, 25, 50}, {#268, 25, 50}, {#264427, 25, 50}, {#280, 25, 50}} | {{#282, 25, 50}, {#188219, 25, 50}, {#69282, 25, 50}, {#67709, 25, 50}, {#281, 25, 50}, {#315075, 25, 50}, {#37210, 25, 50}, {#99011, 25, 50}, {#283670, 25, 50}, {#938, 25, 50}, {#1051, 25, 50}, {#1052, 25, 50}, {#69802, 25, 50}, {#94052, 25, 50}, {#127580, 25, 50}, {#277, 25, 50}, {#278, 25, 50}, {#279, 25, 50}, {#268, 25, 50}, {#264427, 25, 50}, {#280, 25, 50}} | {{#282, 25, 50}, {#188219, 25, 50}, {#69282, 25, 50}, {#67709, 25, 50}, {#281, 25, 50}, {#315075, 25, 50}, {#37210, 25, 50}, {#99011, 25, 50}, {#283670, 25, 50}, {#938, 25, 50}, {#1051, 25, 50}, {#1052, 25, 50}, {#69802, 25, 50}, {#94052, 25, 50}, {#127580, 25, 50}, {#277, 25, 50}, {#278, 25, 50}, {#279, 25, 50}, {#268, 25, 50}, {#264427, 25, 50}, {#280, 25, 50}} | defensive value of currently installed armor |
| ascend_speed | 4.5 | 20.0 | 5.0 | 12 | 6.0 | 5.0 | speed at which the flyer ascends higher, in seconds |
| auto_land_if_no_players | 1 | 1 | 1 | 1 | 1 | 1 | should the flyer land automatically after a few minutes if no players are onboard? |
| blueprint | blueprint for a single-room flyer (#353149) | blueprint for a prion gyrocopter (#19895) | blueprint for a cessna tiltrotor (#74465) | blueprint for a patton supalifta (#22556) | blueprint for a dragoon microzep (#202702) | blueprint for a cessna tiltrotor (#74465) | the blueprint used to spawn the flyer's interior at creation |
| burn_rate | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | multiplier for fuel burning. Generic is set to 1.0. |
| control | 10 | 10 | 10 | 10 | 10 | 10 | amount of control the pilot(s) currently have over the flyer |
| control_max | 10 | 10 | 10 | 10 | 10 | 10 | maximum amount of control the pilot(s) can have over the flyer |
| crash_altitude | 500 | 500 | 500 | 500 | 500 | 500 | altitude below which a flyer is considered crashed (defautl 500) |
| cruise_speed | 4.0 | 14.0 | 8.0 | 20.0 | 15.0 | 8.0 | how quickly the flyer moves between sky rooms in seconds. modified by pilot skill (see $actions.pilot.cruise) |
| custom_name | "" | "" | "" | "" | "" | "" | custom name for the flyer |
| damage | {{#15895, 30, 50, 0}} | {{#15895, 30, 50, 0}} | {{#15895, 30, 50, 0}} | {{#15895, 30, 50, 0}} | {{#15895, 30, 50, 0}} | {{#15895, 30, 50, 0}} | damage for missiles |
| death_listeners | {} | {} | {} | {} | {} | {} | who to inform when the flyer dies via hear_death() |
| descend_speed | 4.5 | 3.0 | 5.0 | 7 | 9.0 | 5.0 | speed at which the flyer descends, in seconds |
| dest | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | unknown |
| destroyed_parts | {} | {} | {} | {} | {} | {} | parts destroyed by damage (see part_list) |
| dying | 0 | 0 | 0 | 0 | 0 | 0 | flyer currently dying |
| evade_mod | 3 | 2 | 2 | 5 | 2 | 2 | unkown |
| exit_in | hatch to BH10832 (#249545) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | hatch to WO8437 (#319001) | entrance into the flyer's .inside_area |
| fuel | 0 | 0 | 0 | 0 | 0 | 0 | current fuel level for the flyer |
| fuel_ascend | 2 | 3 | 6 | 50 | 2 | 6 | unknown |
| fuel_cruise | 5 | 1 | 20 | 75 | 20 | 20 | unknown |
| fuel_descend | 1 | 1 | 4 | 40 | 20 | 4 | unknown |
| fuel_liquid | gasoline (#140609) | alcohol (#287007) | gasoline (#140609) | gasoline (#140609) | gasoline (#140609) | gasoline (#140609) | unknown |
| fuel_max | 750 | 75 | 1000 | 5000 | 2500 | 1000 | maximum fuel level for the flyer |
| fuel_per_ascend | 2 | 3 | 6 | 50 | 2 | 6 | amount of fuel burned when the flyer ascends |
| fuel_per_cruise | 5 | 1 | 20 | 75 | 20 | 20 | amount of fuel burned when the flyer moves |
| fuel_per_descend | 1 | 1 | 4 | 40 | 20 | 4 | amount of fuel burned when the flyer descends (unimplemented) |
| fuel_per_heart | 8 | 1 | 3 | 7 | 1 | 3 | fuel per flyer heartbeat burned when not landed (hovering or flying) |
| fuel_type | gasoline (#140609) | alcohol (#287007) | gasoline (#140609) | gasoline (#140609) | gasoline (#140609) | gasoline (#140609) | type of fuel to be used on flyer |
| generic_module | generic flyer module (#103734) | generic flyer module (#103734) | generic flyer module (#103734) | generic flyer module (#103734) | generic flyer module (#103734) | generic flyer module (#103734) | objnum for generic flyer module. Only children of this object can be installed in the cockpit. |
| gscan_speed | 3 | 3 | 3 | 3 | 3 | 3 | speed at which the flyer performs a ground scan |
| has_proper_name | 0 | 0 | 0 | 0 | 0 | 0 | whether or not to use 'The' in :dname() |
| health | 100 | 200 | 300 | 700 | 900 | 300 | current health of the flyer |
| health_max | 100 | 200 | 300 | 700 | 900 | 300 | maximum health for the flyer |
| heart | 0 | 0 | 0 | 0 | 0 | 96 | flyer's heart queue |
| home | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | flyer's home room. Non recycling flyers are moved here on death. |
| hover_altitude | 20 | 20 | 20 | 10 | 20 | 20 | the altitude at which the flyer hovers while on the ground |
| inside_area | in the mosquito ultralight (#311217) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | in the cessna skywagon (#105985) | flyer's interior $area |
| installed_armor | {} | {} | {} | {} | {} | {} | installed armor packages |
| intercepting | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | current flier intercept target |
| land_noise | airship landing (#280330) | airship landing (#280330) | airship landing (#280330) | airship landing (#280330) | airship landing (#280330) | airship landing (#280330) | noise object broadcast from the room a flyer lands in. |
| landed | 0 | 0 | 0 | 0 | 0 | 1 | is the flyer landed? |
| landing_speed | 5.0 | 8.0 | 5.0 | 12 | 3.0 | 5.0 | speed at which the flyer lands AND takes off in seconds |
| last_heartbeat | 0 | 0 | 0 | 0 | 0 | 1278102828 | flyer's last heartbeat time (epoch) |
| lock | 0 | 0 | 0 | 0 | 0 | 0 | number of seconds until current targeting task completes |
| max_load | 150000 | 200000 | 300000 | 3000000 | 2500000 | 300000 | maximum weight the flyer can have on it for successful takeoff |
| missile_ceiling | 5000 | 5000 | 5000 | 5000 | 5000 | 5000 | the highest altitude from which a flyer can fire a missile |
| outdoor_room | generic flying vehicle outdoor room (#142063) | generic flying vehicle outdoor room (#142063) | generic flying vehicle outdoor room (#142063) | generic flying vehicle outdoor room (#142063) | generic flying vehicle outdoor room (#142063) | generic flying vehicle outdoor room (#142063) | objnum for parent of outdoor rooms for the flyer |
| pilot | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | flyer's current pilot (reset on new actions) |
| pilot_difficulty | 0 | 2 | 0 | -2 | 0 | 0 | difficulty modifier for level and cruise checks |
| plot | 0 | 0 | 0 | 0 | 0 | 0 | is the flyer permanent? |
| policy | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | flyer's installed insurance policy |
| preserve_on_explode | {} | {} | {} | {} | {} | {} | list of objects inside the flyer to not destroy or move when the flyer explodes. Used on permanent flyers only. |
| radar_warning | {} | {} | {} | {} | {} | {} | unknown |
| recipe_for | $nothing (#-1) | $nothing (#-1) | schematics for a cessna tiltrotor (#291964) | schematics for a patton supa-lifta (#328255) | schematics for a dragoon microzep (#186948) | schematics for a cessna tiltrotor (#291964) | the schematic used to craft the flyer |
| recycle_on_explode | 1 | 1 | 1 | 1 | 1 | 1 | recycle the flyer when it explodes? |
| registry | "BH10832" | "" | "" | "" | "" | "WO8437" | flyer's registry code, assigned randomly when crafted |
| repair_difficulty | 0 | 0 | 0 | 0 | 0 | 0 | difficulty for repair skill check |
| scan_task | 0 | 0 | 0 | 0 | 0 | 0 | task_id for current ground scan |
| size | 10 | 15 | 20 | 70 | 80 | 20 | physical size of the flyer. Used in determining if a flyer can land in a given tile, compared to airstrip |
| takeoff_noise | {"From %dir you hear the %vol receding whir of an airship taking off.", 3} | {"From %dir you hear the %vol receding whir of an airship taking off.", 3} | {"From %dir you hear the %vol receding whir of an airship taking off.", 3} | {"From %dir you hear the %vol, thrumming bass of a heavy airship taking off.", 3} | {"From %dir you hear the %vol receding whir of an airship taking off.", 3} | {"From %dir you hear the %vol receding whir of an airship taking off.", 3} | noise broadcast from the room a flyer takes off from. |
| target | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | $nothing (#-1) | current missile target tile |
| target_difficulty | 0 | 0 | 0 | 0 | 0 | 0 | difficulty for missile lock task |
| target_task | 0 | 0 | 0 | 0 | 0 | 0 | task_id for current target task |
| unique | 0 | 0 | 0 | 0 | 0 | 0 | should the flyer's name be displayed separately in :look_place_msg, instead of rolled up? |
| value | 20000 | 10000 | 20000 | 20000 | 20000 | 20000 | base price of the flyer |
| - | mosquito ultralight (#75771) | prion gyrocopter (#388493) | cessna tiltrotor (#111470) | patton supa-lifta (#408794) | dragoon microzep (#33562) | cessna skywagon (#382207) | description |
|---|---|---|---|---|---|---|---|
| ascend_finish_ground_msg | "Overhead, %dt disappears from sight." | "Overhead, %dt disappears from sight." | "Overhead, %dt disappears from sight." | "Overhead, %dt disappears from sight." | "Overhead, %dt disappears from sight." | "Overhead, %dt disappears from sight." | displayed in current room when the flyer finishes ascending after takeoff (only in ground rooms) |
| ascend_finish_msg | "%IT rises up from %from to cruising altitude." | "%IT rises up from %from to cruising altitude." | "%IT rises up from %from to cruising altitude." | "%IT rises up from %from to cruising altitude." | "%IT rises up from %from to cruising altitude." | "%IT rises up from %from to cruising altitude." | displayed in current room when the flyer finishes ascending after takeoff (only in sky rooms) |
| ascend_ground_msg | "%DT lifts out of hover and begins to ascend." | "%DT lifts out of hover and begins to ascend." | "%DT lifts out of hover and begins to ascend." | "%DT lifts out of hover and begins to ascend." | "%DT lifts out of hover and begins to ascend." | "%DT lifts out of hover and begins to ascend." | displayed in current room when the flyer begins to ascend after takeoff (only in ground rooms) |
| ascend_inside_finish_msg | "The acceleration eases as you reach cruising altitude." | "The acceleration eases as you reach cruising altitude." | "The acceleration eases as you reach cruising altitude." | "The acceleration eases as you reach cruising altitude." | "You reach cruising altitude." | "The acceleration eases as you reach cruising altitude." | displayed in cockpit when the flyer finishes ascending |
| ascend_inside_msg | "Acceleration pushes you down and back, as %dt begins its ascent." | "Acceleration pushes you down and back, as %dt begins its ascent." | "Acceleration pushes you down and back, as %dt begins its ascent." | "Acceleration pushes you down and back, as %dt begins its ascent." | "Acceleration gently pushes you down, as %dt begins its ascent." | "Acceleration pushes you down and back, as %dt begins its ascent." | displayed in cockpit when the flyer begins to ascend |
| ascend_more_msg | "%DT pulls back into a climb." | "%DT pulls back into a climb." | "%DT pulls back into a climb." | "%DT pulls back into a climb." | "%DT ascends even higher into the sky." | "%DT pulls back into a climb." | displayed in the current room when the flyer ascends, but only while already in flight |
| crash_msg | "%DT slams into the ground in a huge fireball." | "%DT slams into the ground in a huge fireball." | "%DT slams into the ground in a huge fireball." | "%DT slams into the ground in a huge fireball." | "%DT slams into the ground in a huge fireball." | "%DT slams into the ground in a huge fireball." | displayed in the current room when the flyer crashes into the ground |
| cruise_finish_msg | "%DT recedes to %dl and vanishes." | "%DT recedes to %dl and vanishes." | "%DT recedes to %dl and vanishes." | "%DT recedes to %dl and vanishes." | "%DT recedes to %dl and vanishes." | "%DT recedes to %dl and vanishes." | displayed in current sky room when a flyer finishes moving |
| cruise_ground_msg | "Overhead, %dt glides over the horizon to %dl." | "Overhead, %dt glides over the horizon to %dl." | "Overhead, %dt glides over the horizon to %dl." | "Overhead, %dt glides over the horizon to %dl." | "Overhead, %dt glides over the horizon to %dl." | "Overhead, %dt glides over the horizon to %dl." | displayed in current sky room's overlying area when it begins to move |
| cruise_in_finish_msg | "%IT glides in from %dl." | "%IT glides in from %dl." | "%IT glides in from %dl." | "%IT glides in from %dl." | "%DT glides in from %dl." | "%IT glides in from %dl." | displayed in destination sky room when a flyer finishes moving |
| cruise_in_ground_msg | "Overhead, %it glides into view from %dl." | "Overhead, %it glides into view from %dl." | "Overhead, %it glides into view from %dl." | "Overhead, %it glides into view from %dl." | "Overhead, %it glides into view from %dl." | "Overhead, %it glides into view from %dl." | displayed in current sky room's overlying area when it finishes moving |
| cruise_in_msg | "Away to %dl, you can barely see %it approaching." | "Away to %dl, you can barely see %it approaching." | "Away to %dl, you can barely see %it approaching." | "Away to %dl, you can barely see %it approaching." | "Away to %dl, you can barely see %it approaching." | "Away to %dl, you can barely see %it approaching." | displayed in destination sky room when a flyer begins to move |
| cruise_msg | "%DT banks deeply, turning toward %dl." | "%DT banks deeply, turning toward %dl." | "%DT banks deeply, turning toward %dl." | "%DT banks deeply, turning toward %dl." | "%DT rotates slowly, turning toward %dl." | "%DT banks deeply, turning toward %dl." | displayed in current sky room when a flyer begins to move |
| descend_finish_ground_msg | "%DT descends from the sky to a low hover, kicking dust in your face." | "%DT descends from the sky to a low hover, kicking dust in your face." | "%DT descends from the sky to a low hover, kicking dust in your face." | "%DT descends from the sky to a low hover, kicking dust in your face." | "%DT descends from the sky to a low hover, softly bathing your face in a breeze." | "%DT descends from the sky to a low hover, kicking dust in your face." | displayed in landing zone room when a flyer finishes descending into it from a sky room |
| descend_finish_msg | "%DT leaves the open sky |