# Are Same Weapon Type

![](https://264187692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq39qopWeWNs74JJEWw4C%2Fuploads%2Fgit-blob-04e48c64abfabff89ff1bd3ddfed768d41a8944d%2Fare-same-weapon-type.png?alt=media)

## Description

Returns whether the two objects share a base Weapon Type (e.g both are Gravity Hammers) and if they share a Weapon Type (e.g. both are Rushdown Gravity Hammers). Two objectrs with invalid Weapon Types will be compared as true.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input    | Type   | Required | Description                  |
| -------- | ------ | -------- | ---------------------------- |
| Weapon A | Object | Yes      | A weapon to compare Type to. |
| Weapon B | Object | Yes      | A weapon to compare Type to. |

## Outputs

| Output                    | Type    | Description                                                        |
| ------------------------- | ------- | ------------------------------------------------------------------ |
| Are Same Base Weapon Type | Boolean | Is true if both weapons are same base weapon type (less specific). |
| Are Same Weapon Type      | Boolean | Is true if both weapons are same weapon type (more specific).      |

\
\
**Contributors**

AddiCt3d 2CHa0s
