Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
api_factory.cc
Go to the documentation of this file.
1
14public:
18private:
19 void _nexti();
20public:
24private:
25 factory_x _get(integer);
26public:
30 integer get_count();
31};
32
36class factory_x : public extend_get,coord,ingame_object {
37public:
43 factory_x(integer x, integer y);
61 table<factory_production_x> input;
70 table<factory_production_x> output;
74 bool is_valid();
79 array<coord> get_consumers();
84 array<coord> get_suppliers();
89 string get_name();
94 string get_raw_name();
99 void set_name(string);
104 array<integer> get_production();
109 array<integer> get_power();
114 array<integer> get_boost_electric();
119 array<integer> get_boost_pax();
124 array<integer> get_boost_mail();
129 array<integer> get_pax_generated();
134 array<integer> get_pax_departed();
139 array<integer> get_pax_arrived();
144 array<integer> get_mail_generated();
149 array<integer> get_mail_departed();
154 array<integer> get_mail_arrived();
159 array<coord> get_tile_list();
164 array<halt_x> get_halt_list();
190 integer get_rotate();
195};
196
201public:
205 integer max_storage;
210 array<integer> get_storage();
215 array<integer> get_received();
220 array<integer> get_consumed();
225 array<integer> get_in_transit();
230 array<integer> get_delivered();
235 array<integer> get_produced();
256};
integer x
x-coordinate
Definition api_simple.cc:35
integer y
y-coordinate
Definition api_simple.cc:37
factory_x _get(integer)
integer get_count()
array< integer > get_produced()
integer get_base_production()
array< integer > get_delivered()
array< integer > get_consumed()
array< integer > get_received()
integer get_production_factor()
array< integer > get_in_transit()
integer get_base_consumption()
integer get_consumption_factor()
array< integer > get_storage()
factory_desc_x get_desc()
bool is_transformer_connected()
table< factory_production_x > input
array< integer > get_pax_generated()
array< integer > get_boost_pax()
integer get_rotate()
array< coord > get_tile_list()
integer get_min_field_count()
string get_name()
string get_raw_name()
array< integer > get_pax_departed()
bool is_valid()
array< integer > get_pax_arrived()
powerline_x get_transformer()
array< integer > get_power()
factory_x(integer x, integer y)
integer get_field_count()
integer get_base_production()
array< integer > get_boost_mail()
array< coord > get_consumers()
array< integer > get_mail_departed()
array< integer > get_production()
array< coord > get_suppliers()
array< integer > get_boost_electric()
array< integer > get_mail_arrived()
array< halt_x > get_halt_list()
array< integer > get_mail_generated()
table< factory_production_x > output
void set_name(string)