blob: 57e66483c9d7a79bd2946a7a8630fda57fe85592 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Black smoke, 50 fuel, no load extra
# Comptaible with every type of plane
# just before their death
#
from struct import pack
def undeadPatch(id:int, data:bytes):
buffer = data[0:8] + pack("I", id) + data[12:]
return buffer
def smokedPlane(id:int):
data = b'"\x00\x00\x00$\x00\x00\x00*\x03\x01\x00\x0c\x00\xc8\x00\x14\x00 \x00\x08!!\x00\x08!"\x00\x08!\x00\x00\xb8\x0b\xc8\x00\x14\x00'
return undeadPatch(id, data)
|