Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
Paste #p9ffxs9pv
Show paste
--[[
This
function
checks
if
a tile has no entity on it
and
(
optionally
)
if
it is
not
in
a room
.
!param x
(
integer
)
the queried tile
's x coordinate.
!param y (integer) the queried tile'
s y coordinate
.
wtf
Show paste
template template_x1_8bpp_vehicle8(y
,
f) {
[
0*64
,
80*y
,
64
,
80
,
-
15
-
32
+
16
,
-
25
-
8
,
f
]
[
1*64
,
80*y
,
64
,
80
,
-
18
-
32
+
16
,
-
22
-
12
,
f
]
Paste #pvxjvmygu
Show paste
diff -r ca
32821c5
fe9 nml/actions/action0.py
--- a/nml/actions/action0.py Sat Nov 14 11:35:12 2015 +0100
+++ b/nml/actions/action0.py Fri Dec 11 19:09:38 2015 +0100
@@ -969,15 +969,16 @@
def parse_sort_block
(
feature, vehid_list
)
:
town growth
Show paste
+/**
+ * Calculates town growth rate in normal conditions (custom growth rate not set).
+ * @param town The town to calculate growth rate for
+ * @returns Calculated growth rate
+ */
Paste #plbrfnrsp
Show paste
// SUGGESTION:
/** Filter data for NetworkContentListWindow. */
struct ContentListFilterData {
StringFilter string_filter; ///< Text filter of content list
std::list<ContentType> type_list; ///< Content types displayed or empty list for any
Paste #pnckza9mu
Show paste
--Called when the patient sits up from a bench for whatever reason
--Maybe related to Humanoid:removedObject(object)
function
Bench
:
removeUser
(
user
)
if
user
then
local
has_idle
=
false
Paste #phixs4ef4
Show paste
item(booster_wagon ...)
{
}
// return power, as computed in TEMP(0)
Paste #pbduu7epq
Show paste
--lang=ISOCODE --lang=LANGNAME
For "upload-translations": Languages to upload. (default: all in LANG_DIR)
--file=LANGFILE
For "upload-translations": Language file to upload, relative path to LANG_DIR. (default: all in LANG_DIR)
Paste #piccl5c09
Show paste
Current syntax:
lang_sync upload-base
lang_sync upload-translations
Options for new synax:
Paste #pn9ytwehb
Show paste
diff -r 25f65e
3727d8
webtranslate/pages/upload_language.py
--- a/webtranslate/pages/upload_language.py Sat Sep 26 14:08:48 2015 +0200
+++ b/webtranslate/pages/upload_language.py Mon Nov 23 20:22:34 2015 +0100
@@ -211,7 +211,11 @@
lng.set_modified
(
)
Paste #ptetqoz97
Show paste
// This:
uint old_rate
=
t
-
>
growth_rate
;
if
(
p2
==
TOWN_GROW_RATE_NORMAL
)
t
-
>
growth_rate
=
GetNormalGrowthRate
(
t
)
;
else
Paste #ppvkg5kox
Show paste
digraph
G
{
A
->
B
[
sametail
=
"1"
]
A
->
C
[
sametail
=
"1"
]
A
->
D
[
samehead
=
"2"
]
C
->
D
[
samehead
=
"2"
]
Paste #p2yg7h5zi
Show paste
diff -r cb1ea3350df1 src/docs_templates/cargoflow.pt
--- a/src/docs_templates/cargoflow.pt Sat Nov 14 19:29:29 2015 +0000
+++ b/src/docs_templates/cargoflow.pt Sat Nov 14 20:41:35 2015 +0100
@@ -38,7 +38,7 @@
C_$
{
cargo.id
}
-> I_$
{
industry.id
}
Paste #p9gtfippl
Show paste
diff -r cb1ea3350df1 src/docs_templates/cargoflow_styles.pt
--- a/src/docs_templates/cargoflow_styles.pt Sat Nov 14 19:29:29 2015 +0000
+++ b/src/docs_templates/cargoflow_styles.pt Sat Nov 14 20:39:11 2015 +0100
@@ -38,14 +38,12 @@
</tal:industries>
Paste #pylgirvfu
Show paste
diff --git a/nml/actions/action0properties.py b/nml/actions/action0properties.py
--- a/nml/actions/action0properties.py
+++ b/nml/actions/action0properties.py
@@ -816,7 +816,8 @@ properties
[
0x0A
]
=
{
'min_cargo_distr' :
{
'size':
1
, 'num': 0x14
}
,
«
1
2
...
86
87
88
89
90
91
92
...
133
134
»