Skip to content

Instantly share code, notes, and snippets.

@Jire
Created November 3, 2016 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jire/26646a3f7b016d0926c55f0366e42d8c to your computer and use it in GitHub Desktop.
Save Jire/26646a3f7b016d0926c55f0366e42d8c to your computer and use it in GitHub Desktop.
ItemDef itemDef = forID(lendTemplateID);
inventoryOptions = new String[5];
groundModel = itemDef.groundModel;
modelOffset1 = itemDef.modelOffset1;
modelRotation2 = itemDef.modelRotation2;
modelOffset2 = itemDef.modelOffset2;
modelZoom = itemDef.modelZoom;
modelRotation1 = itemDef.modelRotation1;
anInt204 = itemDef.anInt204;
value = 0;
ItemDef itemDef_1 = forID(lendID);
anInt166 = itemDef_1.anInt166;
originalModelColors = itemDef_1.originalModelColors;
anInt185 = itemDef_1.anInt185;
femaleModel = itemDef_1.femaleModel;
anInt173 = itemDef_1.anInt173;
anInt175 = itemDef_1.anInt175;
groundOptions = itemDef_1.groundOptions;
maleModel = itemDef_1.maleModel;
name = itemDef_1.name;
maleArm = itemDef_1.maleArm;
membersObject = itemDef_1.membersObject;
anInt197 = itemDef_1.anInt197;
femaleArm = itemDef_1.femaleArm;
anInt162 = itemDef_1.anInt162;
modifiedModelColors = itemDef_1.modifiedModelColors;
team = itemDef_1.team;
retextureSrc = itemDef_1.retextureSrc;
retextureDst = itemDef_1.retextureDst;
if (itemDef_1.inventoryOptions != null) {
for (int i_33_ = 0; i_33_ < 4; i_33_++) {
inventoryOptions[i_33_] = itemDef_1.inventoryOptions[i_33_];
}
}
inventoryOptions[4] = "Discard";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment