Upload from upload_mods.ps1
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
public class DialogRequirementHasRepairReportRebirth : BaseDialogRequirement
|
||||
{
|
||||
public override bool CheckRequirement(EntityPlayer player, EntityNPC talkingTo)
|
||||
{
|
||||
|
||||
EntityNPCRebirth myEntity = (EntityNPCRebirth)talkingTo;
|
||||
|
||||
if (myEntity != null)
|
||||
{
|
||||
//Log.Out("DialogRequirementHasRepairReportRebirth-CheckRequirement strSerialize: " + myEntity.strSerialize);
|
||||
if (myEntity.strSerialize.Trim().Length > 0)
|
||||
{
|
||||
//Log.Out("DialogRequirementHasRepairReportRebirth-CheckRequirement true");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
//Log.Out("DialogRequirementHasRepairReportRebirth-CheckRequirement false");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user