Steamengine can now be accessed for contents

rope
Maikel de Vries 2012-02-23 22:35:30 +01:00
parent e3d84a550a
commit dd2f93b3e4
2 changed files with 16 additions and 1 deletions

View File

@ -13,7 +13,7 @@ VertexFriction=50,50,100,100
Value=180
Mass=4000
Components=Rock=6;Metal=3
Collection=-69,20,20,22
Collection=-31,9,10,10
Exclusive=1
BlastIncinerate=130
Construction=1

View File

@ -15,6 +15,21 @@ func Construction()
return _inherited(...);
}
public func IsContainer() { return true; }
protected func RejectEntrance(object obj)
{
if (obj->~IsFuel())
return false;
return true;
}
protected func RejectCollect(id item, object obj)
{
// Just return RejectEntrance for this object.
return RejectEntrance(obj);
}
func ContentsCheck()
{
//Ejects non fuel items immediately