Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
Filter:
Right now
Last 7 days
Last 30 days
Last 365 days
All time
Paste #p90a7jold
Show paste
hg_ps1
(
)
{
if
$
(
hg st
>
/
dev
/
null
2
>&
1
)
;
then
hg
log
-
r.
--
template
=
' {branch}-r{rev}{if(tags," ({tags})")}{if(bookmarks," ({bookmarks})")} '
fi
}
Paste #p8w2wu3ta
Show paste
liveuser@noname ~]$ sudo LANG=C parted -l
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
Paste #pf9xaubkt
Show paste
factor 0.33515587471511
factor 0.33298265299167
factor 0.33126673511738
factor 0.3299082329992
factor 0.32883040490377
Paste #px9lcajoc
Show paste
~
/ottd/OpenTTD-master$ git fetch
remote: Enumerating objects:
538
,
done.
remote
: Counting objects:
100
%
(
538
/
538
)
,
done.
remote
: Compressing objects:
100
%
(
38
/
38
)
,
done.
remote
: Total
653
(
delta
506
)
,
reused
530
(
delta
500
)
,
pack-reused
115
Paste #psdpv78vx
Show paste
jenkins@jenkins:~/jobs/firs/workspace$ hg --version
Mercurial Distributed SCM (version 2.2.2)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2012 Matt Mackall and others
Paste #pibawrll2
Show paste
--
[
[
Copyright
(
c
)
2009 Peter "Corsix" Cawley
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files
(
the "Software"
)
, to deal in
the Software without restriction, including without limitation the rights to
busy bee subsidy patch
Show paste
function
GetAuthor
(
)
{
return
"alberth & andythenorth";
}
-
function
GetName
(
)
{
return
"Busy Bee";
}
// Old: return PROGRAM_NAME;
-
function
GetDescription
(
)
{
return
"Make connection
,
transport cargo";
}
+
function
GetAuthor
(
)
{
return
"alberth & andythenorth
,
reward by jottyfan";
}
+
function
GetName
(
)
{
return
"Busy Bee Reward";
}
// Old: return PROGRAM_NAME;
Paste #pckmrij1j
Show paste
return int(value.value / divisor) * 10 // 16 * unit.ottd_mul >> unit.ottd_shift
to
return int(value.value / divisor * 10 / 16 * unit.ottd_mul) >> unit.ottd_shift
blender boolean test
Show paste
### set object as Active
#bpy.context.scene.objects.active = bpy.data.objects['Cube.'+objNumber]
### add Boolean and set the target to Cube
bpy.
ops
.
object
.
modifier_add
(
type
=
'BOOLEAN'
)
HELL
Show paste
Psg 297 Hell
Y
et another way of handling multiple cargoes is complex
,
hacky and awesomely evil
.
1 Trains try load passengers
2 If train failed to load passengers
,
try again
,
otherwise continue to step 3
Paste #pncrp9vcg
Show paste
diff --git a/nml/actions/action0properties.py b/nml/actions/action0properties.py
index eebfd95..53da8c3 100644
--- a/nml/actions/action0properties.py
+++ b/nml/actions/action0properties.py
@@ -751,7 +751,7 @@ def industry_prod_multiplier(value):
Paste #pppfawycl
Show paste
@ -
47
,
6
+
47
,
7
@@
#include "effectvehicle_base.h"
#include "vehiclelist.h"
#include "bridge_map.h"
#include "tunnelbridge_map.h"
Paste #pozjqixd2
Show paste
Flooding algorithm selected from (42, 20) to (5, 14)
Auto-step enabled
Statistics: total nodes = 2261, max open = 101, open_at_end = 51
Paste #pbgo4b2as
Show paste
ride {
voxel {
dx: 0; dy: 0; dz: 0;
north: sprite {
Paste #pgau7ddof
Show paste
Index: src/rail.h
===================================================================
--- src/rail.h
(
revision 27686
)
+++ src/rail.h
(
working copy
)
@@ -113,7 +113,8 @@
«
1
2
...
118
119
120
121
122
123
124
...
133
134
»